BenManu\StyleGuide\Parser
Synopsis
class Parser
{
- // members
- protected array $sections = ;
- // methods
- public void __construct()
- protected void addSection()
- public array getSections()
Members
protected
- $sections
—
array
An array of the different comment sections found in the parsed directories.
Methods
protected
- addSection() — Adds a section to the Sections collection
public
- __construct() — Parses specified directories for comments and adds any valid Sections found.
- getSections() — Returns an array of all the sections