Respect\Validation\Rules\Domain::collectAssertException PHP Method

collectAssertException() protected method

protected collectAssertException ( &$exceptions, $validator, $input )
    protected function collectAssertException(&$exceptions, $validator, $input)
    {
        try {
            $validator->assert($input);
        } catch (ValidationException $e) {
            $exceptions[] = $e;
        }
    }