SearchTable Of ContentsPrevious topic< Class Phalcon\Annotations\Adapter\Memory Next topicClass Phalcon\Annotations\Collection > This Page |
Class Phalcon\Annotations\Annotation¶Represents a single annotation in an annotations collection Methods¶public __construct (array $reflectionData) Phalcon\Annotations\Annotation constructor public string 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 int numberArguments () Returns the number of arguments that the annotation has public mixed getArgument (unknown $position) Returns an argument in a specific position public mixed hasArgument (unknown $position) Returns an argument in a specific position public mixed getNamedArgument (string $name) Returns a named argument public mixed getNamedParameter (string $name) Returns a named argument (deprecated) public boolean hasNamedArgument (unknown $name) Checks if the annotation has a specific named argument |