protected function registerValidators(RequestValidator $validator)
    {
        $validator->registerValidator('post_edit_handler', 'FluxBB\Validation\PostValidator');
        $validator->registerValidator('reply_handler', 'FluxBB\Validation\PostValidator');
        $validator->registerValidator('new_topic_handler', 'FluxBB\Validation\PostValidator');
        $validator->registerValidator('admin.options.set', 'FluxBB\Validation\OptionsValidator');
        $validator->registerValidator('handle_registration', 'FluxBB\Validation\UserValidator');
    }
protected function registerValidators(RequestValidator $validator)
    {
        $validator->registerValidator('post_edit_handler', 'FluxBB\Validation\PostValidator');
        $validator->registerValidator('reply_handler', 'FluxBB\Validation\PostValidator');
        $validator->registerValidator('new_topic_handler', 'FluxBB\Validation\PostValidator');
        $validator->registerValidator('admin.options.set', 'FluxBB\Validation\OptionsValidator');
        $validator->registerValidator('handle_registration', 'FluxBB\Validation\UserValidator');
    }
protected function registerValidators ( RequestValidator $ validator ) { $ validator -> registerValidator ( 'post_edit_handler' , 'FluxBB\Validation\PostValidator' ) ; $ validator -> registerValidator ( 'reply_handler' , 'FluxBB\Validation\PostValidator' ) ; $ validator -> registerValidator ( 'new_topic_handler' , 'FluxBB\Validation\PostValidator' ) ; $ validator -> registerValidator ( 'admin.options.set' , 'FluxBB\Validation\OptionsValidator' ) ; $ validator -> registerValidator ( 'handle_registration' , 'FluxBB\Validation\UserValidator' ) ; }
Register all validators with the request validator.

@param \FluxBB\Server\RequestValidator $validator
@return void
Register all validators with the request validator .