Interface Phalcon\Annotations\AdapterInterface

Source on GitHub

This interface must be implemented by adapters in Phalcon\Annotations

Methods

abstract public setReader (Phalcon\Annotations\ReaderInterface $reader)

Sets the annotations parser

abstract public getReader ()

Returns the annotation reader

abstract public get (string|object $className)

Parses or retrieves all the annotations found in a class

abstract public getMethods (string $className)

Returns the annotations found in all the class methods

abstract public getMethod (string $className, string $methodName)

Returns the annotations found in a specific method

abstract public getProperties (string $className)

Returns the annotations found in all the class methods

abstract public getProperty (string $className, string $propertyName)

Returns the annotations found in a specific property