Documentation

RenderedContentWithFrontMatter extends RenderedContent
in package
implements FrontMatterProviderInterface

FinalYes
Tags
psalm-immutable

Table of Contents

Interfaces

FrontMatterProviderInterface

Properties

$frontMatter  : mixed

Methods

__construct()  : mixed
__toString()  : string
getContent()  : string
getDocument()  : Document
getFrontMatter()  : mixed|null

Properties

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
psalm-mutation-free
Return values
string

        
On this page

Search results