CodeExporter
in package
Exports parts of a Snapshot as PHP code.
Table of Contents
- constants() : string
- iniSettings() : string
- arrayOnlyContainsScalars() : bool
- exportVariable() : string
Methods
constants()
public
constants(Snapshot $snapshot) : string
Parameters
- $snapshot : Snapshot
Return values
string —iniSettings()
public
iniSettings(Snapshot $snapshot) : string
Parameters
- $snapshot : Snapshot
Return values
string —arrayOnlyContainsScalars()
private
arrayOnlyContainsScalars(array<string|int, mixed> $array) : bool
Parameters
- $array : array<string|int, mixed>
Return values
bool —exportVariable()
private
exportVariable(mixed $variable) : string
Parameters
- $variable : mixed