Annotations\Annotation::getName

public getName () Returns the annotation’s name

Annotations\Annotation::getExpression

public mixed getExpression (array $expr) Resolves an annotation expression

Annotations\Annotation::getExprArguments

public array getExprArguments () Returns the expression arguments without resolving

Annotations\Annotation::getArguments

public array getArguments () Returns the expression arguments

Annotations\Annotation::getArgument

public mixed getArgument (int | string $position) Returns an argument in a specific position

Annotations\Annotation

Source on GitHub Represents a single annotation in an annotations collection Methods public __construct (array $reflectionData) Phalcon\Annotations\Annotation constructor public getName () Returns the annotation’s name public mixed getExpression (array $expr) Resolves an annotation expression public array getExprArguments () Returns the expression arguments without resolving public array getArguments () Returns the expression arguments public numberArguments () Returns the number of arguments t

Annotations\Adapter\Xcache::write

public write (mixed $key, Phalcon\Annotations\Reflection $data) Writes parsed annotations to XCache

Annotations\Adapter\Xcache::read

public Phalcon\Annotations\Reflection read (string $key) Reads parsed annotations from XCache

Annotations\Adapter\Xcache

extends abstract class Phalcon\Annotations\Adapter implements Phalcon\Annotations\AdapterInterface Source on GitHub Stores the parsed annotations to XCache. This adapter is suitable for production $annotations = new \Phalcon\Annotations\Adapter\Xcache(); Methods public Phalcon\Annotations\Reflection read (string $key) Reads parsed annotations from XCache public write (mixed $key, Phalcon\Annotations\Reflection $data) Writes parsed annotations to XCache public setReader (Phalcon\Annotations\Rea

Annotations\Adapter\Memory::write

public write (mixed $key, Phalcon\Annotations\Reflection $data) Writes parsed annotations to memory