PhpConfig
in package
Tags
Table of Contents
- useOriginal() : array<string|int, mixed>
- Use the original PHP configuration
- usePersistent() : array<string|int, mixed>
- Use environment variables to persist settings
- useStandard() : array<string|int, mixed>
- Use standard restart settings
- getDataAndReset() : array<string|int, mixed>|null
- Returns restart data if available and resets the environment
- updateEnv() : mixed
- Updates a restart settings value in the environment
Methods
useOriginal()
Use the original PHP configuration
public
useOriginal() : array<string|int, mixed>
Return values
array<string|int, mixed> —PHP cli options
usePersistent()
Use environment variables to persist settings
public
usePersistent() : array<string|int, mixed>
Return values
array<string|int, mixed> —PHP cli options
useStandard()
Use standard restart settings
public
useStandard() : array<string|int, mixed>
Return values
array<string|int, mixed> —PHP cli options
getDataAndReset()
Returns restart data if available and resets the environment
private
getDataAndReset() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —updateEnv()
Updates a restart settings value in the environment
private
updateEnv(string $name, string|false $value) : mixed
Parameters
- $name : string
- $value : string|false