Class Phalcon\Annotations\Reader

implements Phalcon\Annotations\ReaderInterface

Parses docblocks returning an array with the found annotations

Methods

public array parse (string $className)

Reads annotations from the class dockblocks, its methods and/or properties

public static array parseDocBlock (string $docBlock, [string $file], [int $line])

Parses a raw doc block returning the annotations found

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Annotations_Reader.html