Documentation

內容目录

上一个主题

< Class Phalcon\Annotations\Exception

下一个主题

Class Phalcon\Annotations\Reflection >

本页

Class Phalcon\Annotations\Reader

implements Phalcon\Annotations\ReaderInterface

Source on GitHub

Parses docblocks returning an array with the found annotations

Methods

public parse (unknown $className)

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

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

Parses a raw doc block returning the annotations found

Follow along: