class FunctionInspector (View source)

Properties

protected string[]|null $disabledFunctions

List of system-level disabled functions.

Methods

$this
setDisabledFunctions(string[]|Traversable $functionNames)

Set the system-level disabled functions.

string[]
getDisabledFunctions()

Set the system-level disabled functions.

bool
functionAvailable(string $functionName)

Check if a function exists and is not disabled.

Details

$this setDisabledFunctions(string[]|Traversable $functionNames)

Set the system-level disabled functions.

Parameters

string[]|Traversable $functionNames

Return Value

$this

string[] getDisabledFunctions()

Set the system-level disabled functions.

Return Value

string[]

bool functionAvailable(string $functionName)

Check if a function exists and is not disabled.

Parameters

string $functionName

Return Value

bool