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: