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