class
League
/
CommonMark
/
Extension
/
FrontMatter
/
Input
/
MarkdownInputWithFrontMatter
final
MarkdownInputWithFrontMatter
Extends
Implements
Properties
private
$frontMatter mixed|null
Default: null
Methods
public
__construct ( string $content , int $lineOffset , $frontMatter ) : void
Parameters
-
$content
string
Markdown content without the raw front matter
-
$lineOffset
int
Line offset (based on number of front matter lines removed)
-
$frontMatter
mixed|null
Parsed front matter
public
getFrontMatter ( ) : void
{@inheritDoc}