PHP Class Bolt\Configuration\Validation\Validator

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

add() public méthode

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

check() public méthode

public check ( $checkName )

checks() public méthode

Run system installation checks.
public checks ( )

has() public méthode

public has ( $checkName )

remove() public méthode

public remove ( $checkName )