Documentation

ListParser
in package
implements BlockParserInterface, ConfigurationAwareInterface

Interfaces, Classes and Traits

BlockParserInterface
ConfigurationAwareInterface
Implement this class to inject the configuration where needed

Table of Contents

$config  : ConfigurationInterface|null
$listMarkerRegex  : string|null
parse()  : bool
setConfiguration()  : void
calculateListMarkerPadding()  : int
generateListMarkerRegex()  : string

Properties

$listMarkerRegex

private string|null $listMarkerRegex

Methods

calculateListMarkerPadding()

private calculateListMarkerPadding(Cursor $cursor, int $markerLength) : int
Parameters
$cursor : Cursor
$markerLength : int
Return values
int

generateListMarkerRegex()

private generateListMarkerRegex() : string
Return values
string

Search results