Download the PHP package phpdocumentor/reflection-docblock without Composer
On this page you can find all versions of the php package phpdocumentor/reflection-docblock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
More information about phpdocumentor/reflection-docblock
Files in phpdocumentor/reflection-docblock
Short Description With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
Informations about the package reflection-docblock
The ReflectionDocBlock component of phpDocumentor provides a DocBlock parser that is 100% compatible with the PHPDoc standard.
With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
In order to parse the DocBlock one needs a DocBlockFactory that can be
instantiated using its
createInstance factory method like this:
Then we can use the
create method of the factory to interpret the DocBlock.
Please note that it is also possible to provide a class that has the
getDocComment() method, such as an object of type
create method will read that if it exists.
create method will yield an object of type
whose methods can be queried:
For more examples it would be best to review the scripts in the