Using this library it is possible to statically reflect one or more files and create an object graph representing your application's structure, including accompanying in-source documentation using DocBlocks.
The information that this library provides is similar to what the (built-in) Reflection extension of PHP provides; there are however several advantages to using this library:
The ReflectionDocBlock component of phpDocumentor provides a DocBlock parser that is fully 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.
Common reflection classes used by phpdocumentor to reflect the code structure.
The specification on types in DocBlocks (PSR-5) describes various keywords and special constructs but also how to statically resolve the partial name of a Class into a Fully Qualified Class Name (FQCN).
PSR-5 also introduces an additional way to describe deeper elements than Classes, Interfaces and Traits called the Fully Qualified Structural Element Name (FQSEN). Using this it is possible to refer to methods, properties and class constants but also functions and global constants.
This package provides two Resolvers that are capable of:
sudo dnf install --advisory=FEDORA-2017-14cb178d90 \*
Please login to add feedback.