Annotations\Annotation::getNamedArgument

public mixed getNamedArgument (mixed $name) Returns a named argument

Annotations\Annotation::getName

public getName () Returns the annotation’s name

Annotations\Annotation::hasArgument

public boolean hasArgument (int | string $position) Returns an argument in a specific position

Annotations\Annotation::getExprArguments

public array getExprArguments () Returns the expression arguments without resolving

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\Annotation::getArgument

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

Annotations\Adapter\Xcache::write

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

Annotations\Adapter\Memory::write

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

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