Eno\Section » sections
sections($name) → array
Retrieve subsections with the specified name from this current section.
eno# Article
> ...
# Article
> ...
php$document = Parser::parse($input);
$sections = $document->sections('Article');
foreach($sections as $section) {
// do something with each Article
}
Parameters
$nameA string specifying the name of the sections to retrieve.
Return value
An array of Section
s.