Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 356 Bytes

File metadata and controls

9 lines (6 loc) · 356 Bytes

How to Reconstitute a DocBlock

ReflectionDocBlock not only allows you to read and interpret DocBlocks, but also to reconstruct them. This is useful if you need to add, remove, or modify tags in your codebase programmatically.

.. literalinclude:: ../examples/03-reconstituting-a-docblock.php
   :language: php
   :linenos: