class HasClassCheck implements EnvironmentCheck (View source)

Check that the given class exists.

Properties

protected string $className

Methods

public
__construct(string $className)

No description

public
array
check()

No description

Details

__construct(string $className)

No description

Parameters

string $className

The name of the class 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.