Table Of ContentsPrevious topic< Interface Phalcon\Acl\RoleInterface Next topic |
Interface Phalcon\Annotations\AdapterInterface¶Phalcon\Annotations\AdapterInterface initializer Methods¶abstract public Phalcon\Annotations\Reflection read (string $key) Read parsed annotations abstract public write (string $key, Phalcon\Annotations\Reflection $data) Write parsed annotations abstract public setReader (Phalcon\Annotations\ReaderInterface $reader) Sets the annotations parser abstract public Phalcon\Annotations\ReaderInterface getReader () Returns the annotation reader abstract public Phalcon\Annotations\Reflection get (string|object $className) Parses or retrieves all the annotations found in a class abstract public array getMethods (string $className) Returns the annotations found in all the class’ methods abstract public Phalcon\Annotations\Collection getMethod (string $className, string $methodName) Returns the annotations found in a specific method abstract public array getProperties (string $className) Returns the annotations found in all the class’ methods abstract public Phalcon\Annotations\Collection getProperty (string $className, string $propertyName) Returns the annotations found in a specific property |