Registry / utility / phpdocumentor-reflection-docblock

phpdocumentor-reflection-docblock

JSON →
library6.0.3phppackagistunverified

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

composer require phpdocumentor/reflection-docblock
INSTALL
IMPORT
SIG · PHPDOCUMENTOR-REFL
P
phpdocumentor-reflection-docblock
utilityphpv6.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DocBlockFactory
use phpDocumentor\Reflection\DocBlockFactory;

Parse a DocBlock to extract annotations and metadata.

use phpDocumentor\Reflection\DocBlockFactory; $factory = DocBlockFactory::createInstance(); $docblock = $factory->create('/** @var string $name */'); echo $docblock->getSummary();
Debug
Known issues
breakingRequires PHP 7.4+ for version 6.x.
fix
Use version 5.x for PHP 7.1-7.3 compatibility.
affects: >=6.0.0
Upgrade
Version history
6.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
phpdocumentor-reflection-docblock — pip install phpdocumentor-reflection-docblock · libregistry