\duncan3dc\PhpIniState

Summary

Methods
Properties
Constants
__construct()
set()
call()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$ini
$settings
N/A

Properties

$settings

$settings : array

Type

array — The settings to use when calling.

Methods

__construct()

__construct() 

Create a new instance.

set()

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

Set an ini directive to be used when calling.

Parameters

string $key

The name of the setting

string $value

The value to use

Returns

$this

call()

call(callable  $callable, mixed  $params) : mixed

Run some code using the previous provided ini settings.

Parameters

callable $callable

$the code to run

mixed $params

Any parameters to pass to the callable

Returns

mixed —

The result of the callable