class League / CommonMark / Extension / FrontMatter / Input / MarkdownInputWithFrontMatter
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
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}