Parses strings for docBlock like portions and then extracts the annotations, descriptions, and optional document content. This should not be used as an annotation parser for PHP code, at least not on it's own. If you're looking to do something with the docBlocks you might want to use something like https://github.com/schmittjoh/metadata better. This is more for if you're trying to get metadata from a plain text file. Look through the tests for examples.
-
Notifications
You must be signed in to change notification settings - Fork 1
A simple class that parses a string for a docBlock, description, and annotations.
License
aramonc/DocBlockParser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple class that parses a string for a docBlock, description, and annotations.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published