class HasFunctionCheck implements EnvironmentCheck (View source)

Check that the given function exists.

Properties

protected string $functionName

Methods

public
__construct(string $functionName)

No description

public
array
check()

No description

Details

__construct(string $functionName)

No description

Parameters

string $functionName

The name of the function to look for.

array check()

No description

Return Value

array

Result with 'status' and 'message' keys.

Status is EnvironmentCheck::ERROR, EnvironmentCheck::WARNING, or EnvironmentCheck::OK.