Documentation

MarkdownInput
in package
implements MarkdownInputInterface

Table of Contents

Interfaces

MarkdownInputInterface

Properties

$content  : string
$lineCount  : int|null
$lineOffset  : int
$lines  : array<int, string>|null

Methods

__construct()  : mixed
getContent()  : string
getLineCount()  : int
getLines()  : iterable<int, string>
splitLinesIfNeeded()  : void

Properties

$content

private string $content
Tags
psalm-readonly-allow-private-mutation

$lineCount

private int|null $lineCount = null
Tags
psalm-readonly-allow-private-mutation

$lines

private array<int, string>|null $lines = null
Tags
psalm-readonly-allow-private-mutation

Methods

__construct()

public __construct(string $content[, int $lineOffset = 0 ]) : mixed
Parameters
$content : string
$lineOffset : int = 0

getContent()

public getContent() : string
Return values
string

getLineCount()

public getLineCount() : int
Return values
int

getLines()

public getLines() : iterable<int, string>
Return values
iterable<int, string>

        
On this page

Search results