class EnvTypeCheck implements EnvironmentCheck (View source)

Check whether the environment setting is safe. Useful for live sites where a non "Live" setting might disclose sensitive information.

Methods

public
array
check()

Check the environment setting.

Details

array check()

Check the environment setting.

Return Value

array

Result with 'status' and 'message' keys.

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