Class Phalcon\Annotations\Adapter\Apc
extends abstract class Phalcon\Annotations\Adapter
implements Phalcon\Annotations\AdapterInterface
Stores the parsed annotations in APC. This adapter is suitable for production
use Phalcon\Annotations\Adapter\Apc; $annotations = new Apc();
Methods
public __construct ([array $options])
Phalcon\Annotations\Adapter\Apc constructor
public read (mixed $key)
Reads parsed annotations from APC
public write (mixed $key, Phalcon\Annotations\Reflection $data)
Writes parsed annotations to APC
public setReader (Phalcon\Annotations\ReaderInterface $reader) inherited from Phalcon\Annotations\Adapter
Sets the annotations parser
public getReader () inherited from Phalcon\Annotations\Adapter
Returns the annotation reader
public get (string | object $className) inherited from Phalcon\Annotations\Adapter
Parses or retrieves all the annotations found in a class
public getMethods (mixed $className) inherited from Phalcon\Annotations\Adapter
Returns the annotations found in all the class’ methods
public getMethod (mixed $className, mixed $methodName) inherited from Phalcon\Annotations\Adapter
Returns the annotations found in a specific method
public getProperties (mixed $className) inherited from Phalcon\Annotations\Adapter
Returns the annotations found in all the class’ methods
public getProperty (mixed $className, mixed $propertyName) inherited from Phalcon\Annotations\Adapter
Returns the annotations found in a specific property
© 2011–2017 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Annotations_Adapter_Apc.html