PHP Lang file parser

 Methods

check the status of any opcache mechanism in use

_init() 

Formats the output and saved it to disc.

save(string $identifier, \Fuel\Core\$contents $contents) : bool

Parameters

$identifier

string

filename

$contents

\Fuel\Core\$contents

language array to save

Returns

bool\File::update result

Returns the formatted language file contents.

export_format(array $contents) : string

Parameters

$contents

array

config array

Returns

stringformatted config file contents

Loads in the given file and parses it.

load_file(string $file) : array

Parameters

$file

string

File to load

Returns

array

 Properties

 

<p>the extension used by this config file parser</p>

$ext : string

 

<p>whether or not we need to flush the opcode cache after a save</p>

$flush_needed : bool

 

<p>whether or not APC is in use</p>

$uses_apc : bool

 

<p>whether or not opcache is in use</p>

$uses_opcache : bool