\phpDocumentor\Guides\RestructuredText\ParserBuffer

Summary

Methods
Properties
Constants
__construct()
isEmpty()
count()
has()
get()
push()
set()
getLines()
getLinesString()
pop()
getLastLine()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$lines
N/A

Properties

$lines

$lines : string[]

Type

string[]

Methods

__construct()

__construct(string[]  $lines = []) : mixed

Parameters

string[] $lines

Returns

mixed —

isEmpty()

isEmpty() : bool

Returns

bool —

count()

count() : int

Returns

int —

has()

has(int  $key) : bool

Parameters

int $key

Returns

bool —

get()

get(int  $key) : string

Parameters

int $key

Returns

string —

push()

push(string  $line) : void

Parameters

string $line

set()

set(int  $key, string  $line) : void

Parameters

int $key
string $line

getLines()

getLines() : string[]

Returns

string[] —

getLinesString()

getLinesString() : string

Returns

string —

pop()

pop() : ?string

Returns

?string —

getLastLine()

getLastLine() : ?string

Returns

?string —