PHP Class FluxBB\Validation\UserValidator

Inheritance: extends FluxBB\Core\Validator
ファイルを表示 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