Table Of Contents

Previous topic

< Class Phalcon\Annotations\Exception

Next topic

Class Phalcon\Annotations\Reflection >

This Page

Class Phalcon\Annotations\Reader

implements Phalcon\Annotations\ReaderInterface

Source on GitHub

Parses docblocks returning an array with the found annotations


public parse (mixed $className)

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

public static parseDocBlock (mixed $docBlock, [mixed $file], [mixed $line])

Parses a raw doc block returning the annotations found

Follow along: