Documentation

AbstractGenerator
in package
implements GeneratorInterface

AbstractYes

Table of Contents

Interfaces

GeneratorInterface

Constants

LINE_FEED  = "\n"
Line feed to use in place of EOL

Properties

$indentation  : string
$isSourceDirty  : bool
$sourceContent  : string|null
TODO: Type should be changed to "string" in the next major version. Nullable for BC

Methods

__construct()  : mixed
getIndentation()  : string
getSourceContent()  : string|null
isSourceDirty()  : bool
setIndentation()  : AbstractGenerator
setOptions()  : AbstractGenerator
setSourceContent()  : AbstractGenerator
setSourceDirty()  : AbstractGenerator

Constants

Properties

$sourceContent

TODO: Type should be changed to "string" in the next major version. Nullable for BC

protected string|null $sourceContent = null

Methods

__construct()

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

getSourceContent()

public getSourceContent() : string|null
Return values
string|null

        
On this page

Search results