Composer API
Class

Composer\Util\IniHelper

class IniHelper

Provides ini file location functions that work with and without a restart.

When the process has restarted it uses a tmp ini and stores the original ini locations in an environment variable.

Constants

ENV_ORIGINAL

Methods

static array getAll()

Returns an array of php.ini locations with at least one entry

static string getMessage()

Describes the location of the loaded php.ini file

Details

at line 34
static public array getAll()

Returns an array of php.ini locations with at least one entry

The equivalent of calling phpiniloadedfile then phpiniscannedfiles. The loaded ini location is the first entry and may be empty.

Return Value

array

at line 54
static public string getMessage()

Describes the location of the loaded php.ini file

Return Value

string