\duncan3dc\PhpIniIni

Summary

Methods
Properties
Constants
set()
get()
restore()
cleanup()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$original
$current
N/A

Properties

$original

$original : array

Type

array — The original ini settings to restore.

$current

$current : array

Type

array — The current ini settings.

Methods

set()

set(string  $key, string  $value) : $this

Update an ini setting.

Parameters

string $key

The name of the setting to update

string $value

The value to set it to

Returns

$this

get()

get(string  $key) : string|false

Get a current ini setting.

Parameters

string $key

The name of the setting

Returns

string|false

restore()

restore(  $key) : $this

Restore a previous ini setting.

Parameters

$key

Returns

$this

cleanup()

cleanup() : $this

Restore the previous ini settings.

Returns

$this