CustomValidator

This interface is used to add custom <b>synchronous</b> functions inside validation process. You can add it in

see
package

Default

Methods

__construct

__construct() 

This function have to be <b>synchronous</b>. It doesn't return nothing if validation succedes, otherwise it throws ValidationException.

validate( $arg0) : void


Don't call routingContext.next() or routingContext.fail() from this function

Arguments

$arg0

RoutingContext