Annotations\Adapter

implements Phalcon\Annotations\AdapterInterface Source on GitHub This is the base class for Phalcon\Annotations adapters Methods public setReader (Phalcon\Annotations\ReaderInterface $reader) Sets the annotations parser public getReader () Returns the annotation reader public get (string | object $className) Parses or retrieves all the annotations found in a class public getMethods (mixed $className) Returns the annotations found in all the class’ methods public getMethod (mixed $className, mix

Acl\RoleInterface::getDescription

abstract public getDescription () ...

Annotations Parser

It is the first time that an annotations parser component is written in C for the PHP world. Phalcon\Annotations is a general purpose component that provides ease of parsing and caching annotations in PHP classes to be used in applications. Annotations are read from docblocks in classes, methods and properties. An annotation can be placed at any position in the docblock: /** * This is the class description * * @AmazingClass(true) */ class Example { /** * This a property with a spec

Acl\RoleInterface::getName

abstract public getName () ...

Annotations\Adapter::getMethod

public getMethod (mixed $className, mixed $methodName) Returns the annotations found in a specific method

Annotations\Adapter::getMethods

public getMethods (mixed $className) Returns the annotations found in all the class’ methods

Annotations\Adapter::get

public get (string | object $className) Parses or retrieves all the annotations found in a class

Acl\ResourceInterface::getName

abstract public getName () ...

Acl\Role::getDescription

public getDescription () Role description

Acl\ResourceInterface::getDescription

abstract public getDescription () ...