HeaderParser
extends AbstractBlockParser
in package
FinalYes
Table of Contents
Properties
- $idGenerator : AsciiSlugger
- $inlineParsers : iterable<string|int, mixed>
- $logger : LoggerInterface
Methods
- __construct() : mixed
- parse() : TValue
- supports() : bool
Properties
$idGenerator read-only
private
AsciiSlugger
$idGenerator
$inlineParsers read-only
private
iterable<string|int, mixed>
$inlineParsers
$logger read-only
private
LoggerInterface
$logger
Methods
__construct()
public
__construct(iterable<string|int, AbstractInlineParser<string|int, InlineNode>> $inlineParsers, LoggerInterface $logger, AsciiSlugger $idGenerator) : mixed
Parameters
- $inlineParsers : iterable<string|int, AbstractInlineParser<string|int, InlineNode>>
- $logger : LoggerInterface
- $idGenerator : AsciiSlugger
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