PHP Class FluxBB\Validation\OptionsValidator

Inheritance: extends FluxBB\Core\Validator
Mostrar archivo Open project: fluxbb/core

Public Methods

Method Description
validate ( Request $request ) : void Validate the given request.

Protected Methods

Method Description
rules ( ) : array Get the rules to validate against.

Method Details

rules() protected method

Get the rules to validate against.
protected rules ( ) : array
return array

validate() public method

Should throw an exception if validation fails.
public validate ( Request $request ) : void
$request FluxBB\Server\Request
return void