Project Versions

Tabla de Contenidos

Tema anterior

Class Phalcon\Annotations\Exception

Próximo tema

Class Phalcon\Annotations\Reflection

Esta página

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, [unknown $file], [unknown $line])

Parses a raw doc block returning the annotations found