API Documentation

MarkdownFileParser
in package

Prepares a Markdown file for further usage by extracting the Front Matter and Markdown body, and creating MarkdownDocument object from them.

Table of Contents

Properties

$markdown  : string
The extracted Markdown body.
$matter  : array<string|int, mixed>
The extracted Front Matter.

Methods

parse()  : MarkdownDocument
__construct()  : mixed
get()  : MarkdownDocument

Properties

$matter

The extracted Front Matter.

protected array<string|int, mixed> $matter = []

Methods

__construct()

protected __construct(string $path) : mixed
Parameters
$path : string

        
On this page

Search results