Table Of Contents

Previous topic

< Class Phalcon\Annotations\Exception

Next topic

Class Phalcon\Annotations\Reflection >

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