ListBlockParser
extends AbstractBlockParser
in package
FinalYes
Table of Contents
Properties
- $listItemParser : ListItemParser
- $logger : LoggerInterface
Methods
- __construct() : mixed
- parse() : TValue
- supports() : bool
Properties
$listItemParser read-only
private
ListItemParser
$listItemParser
$logger read-only
private
LoggerInterface
$logger
Methods
__construct()
public
__construct(ListItemParser $listItemParser, LoggerInterface $logger) : mixed
Parameters
- $listItemParser : ListItemParser
- $logger : LoggerInterface
parse()
public
parse(MarkupLanguageParser $parser, NodeWalker $walker, Node $current) : TValue
Parameters
- $parser : MarkupLanguageParser
- $walker : NodeWalker
- $current : Node
Return values
TValuesupports()
public
supports(NodeWalkerEvent $event) : bool
Parameters
- $event : NodeWalkerEvent