Abstract class Phalcon\Annotations\Adapter

This is the base class for Phalcon\Annotations adapters

Methods

public setReader (unknown $reader)

Sets the annotations parser

public Phalcon\Annotations\ReaderInterface getReader ()

Returns the annotation reader

public Phalcon\Annotations\Reflection get (unknown $className)

Parses or retrieves all the annotations found in a class

public array getMethods (unknown $className)

Returns the annotations found in all the class’ methods

public Phalcon\Annotations\Collection getMethod (unknown $className, unknown $methodName)

Returns the annotations found in a specific method

public array getProperties (unknown $className)

Returns the annotations found in all the class’ methods

public Phalcon\Annotations\Collection getProperty (unknown $className, unknown $propertyName)

Returns the annotations found in a specific property