OrpheusPhpCompiler
in package
Table of Contents
Properties
- $compilerPath : string
- $instance : OrpheusPhpCompiler|null
Methods
- __construct() : mixed
- OrpheusPhpCompiler constructor
- compileArray() : void
- get() : static
- initialize() : void
- parseArrayFile() : array<string|int, mixed>|null
- checkFileSystem() : void
- getFile() : SplFileObject
Properties
$compilerPath
private
string
$compilerPath
$instance
private
static OrpheusPhpCompiler|null
$instance
= null
Methods
__construct()
OrpheusPhpCompiler constructor
public
__construct([string|null $compilerPath = null ]) : mixed
Parameters
- $compilerPath : string|null = null
compileArray()
public
compileArray(string $name, array<string|int, mixed> $data[, bool $pretty = false ]) : void
Parameters
- $name : string
- $data : array<string|int, mixed>
- $pretty : bool = false
get()
public
static get() : static
Return values
staticinitialize()
public
static initialize(string|null $path) : void
Parameters
- $path : string|null
parseArrayFile()
public
parseArrayFile(string $name) : array<string|int, mixed>|null
Parameters
- $name : string
Return values
array<string|int, mixed>|nullcheckFileSystem()
protected
checkFileSystem() : void
getFile()
protected
getFile(string $name, bool $readOnly) : SplFileObject
Parameters
- $name : string
- $readOnly : bool