PHP Class Bolt\Configuration\Validation\Validator

Author: Gawain Lynch ([email protected])
Inheritance: extends Bolt\Configuration\LowlevelChecks, implements Bolt\Configuration\Validation\ValidatorInterface
Mostra file Open project: bolt/bolt Class Usage Examples

Public Methods

Method Description
__construct ( Exception $exceptionController, Config $config, ResourceManager $resourceManager ) Constructor.
add ( $checkName, $className, $prepend = false )
check ( $checkName )
checks ( ) Run system installation checks.
has ( $checkName )
remove ( $checkName )

Private Methods

Method Description
getValidator ( string | Bolt\Configuration\Validation\ValidationInterface $className, mixed $constructorArgs ) : Bolt\Configuration\Validation\ValidationInterface Get a validator object from a given class name.

Method Details

__construct() public method

Constructor.
public __construct ( Exception $exceptionController, Config $config, ResourceManager $resourceManager )
$exceptionController Bolt\Controller\Exception
$config Bolt\Config
$resourceManager Bolt\Configuration\ResourceManager

add() public method

public add ( $checkName, $className, $prepend = false )

check() public method

public check ( $checkName )

checks() public method

Run system installation checks.
public checks ( )

has() public method

public has ( $checkName )

remove() public method

public remove ( $checkName )