Jyxo\Input\Fluent::validateAll PHP Method

validateAll() public method

The exception contains only the first validation error message.
public validateAll ( )
    public function validateAll()
    {
        if (!$this->isValid()) {
            throw new Validator\Exception(reset($this->errors) ?: 'Validation failed');
        }
    }