PHP Interface Bolt\Configuration\Validation\ValidationInterface

Author: Gawain Lynch ([email protected])
Show file Open project: bolt/bolt

Public Methods

Method Description
check ( Bolt\Controller\ExceptionControllerInterface $exceptionController ) : Response | null Perform the validation check.
isTerminal ( ) : boolean Should a failure be terminal to loading, or should a flash message be added for feedback.

Method Details

check() public method

Perform the validation check.
public check ( Bolt\Controller\ExceptionControllerInterface $exceptionController ) : Response | null
$exceptionController Bolt\Controller\ExceptionControllerInterface
return Symfony\Component\HttpFoundation\Response | null

isTerminal() public method

Should a failure be terminal to loading, or should a flash message be added for feedback.
public isTerminal ( ) : boolean
return boolean