Class Phalcon\Annotations\Annotation
- Phalcon\Annotations\Annotation * * Represents a single annotation in an annotations collection
Methods
public __construct (unknown $reflectionData)
Phalcon\Annotations\Annotation constructor
public string getName ()
Returns the annotation’s name
public mixed getExpression (unknown $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 boolean hasArgument (unknown $position)
Returns an argument in a specific position
public mixed getNamedArgument (unknown $name)
Returns a named argument
public mixed getNamedParameter (unknown $name)
Returns a named parameter