Documentation

Interface Phalcon\Annotations\ReaderInterface

Source on GitHub

Phalcon\Annotations\ReaderInterface initializer

Methods

abstract public array parse (string $className)

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

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

Parses a raw doc block returning the annotations found