RenderedContentWithFrontMatter
extends RenderedContent
in package
implements
FrontMatterProviderInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $frontMatter : mixed
Methods
- __construct() : mixed
- __toString() : string
- getContent() : string
- getDocument() : Document
- getFrontMatter() : mixed|null
Properties
$frontMatter
private
mixed
$frontMatter
Tags
Methods
__construct()
public
__construct(Document $document, string $content, mixed|null $frontMatter) : mixed
Parameters
- $document : Document
-
The parsed Document object
- $content : string
-
The final HTML
- $frontMatter : mixed|null
-
Any parsed front matter
__toString()
public
__toString() : string
Tags
Return values
stringgetContent()
public
getContent() : string
Return values
stringgetDocument()
public
getDocument() : Document
Return values
DocumentgetFrontMatter()
public
getFrontMatter() : mixed|null