public function is_valid(): bool
    {
        $this->validation->validate();
        static::$errors = $this->validation->errors();

        return !$this->validation->fails();
    }
public function is_valid(): bool
    {
        $this->validation->validate();
        static::$errors = $this->validation->errors();

        return !$this->validation->fails();
    }
public function is_valid ( ) : bool { $ this -> validation -> validate ( ) ; static :: $ errors = $ this -> validation -> errors ( ) ; return ! $ this -> validation -> fails ( ) ; }
Validates the request using the rules and messages set on the internal validation instance.

@return boolean If the validation passed or not.
Validates the request using the rules and messages set on the internal validation instance .