Bluz\Validator\Validator::getErrors PHP Method

getErrors() public method

Get all errors
public getErrors ( ) : string[]
return string[]
    public function getErrors()
    {
        $output = [];
        foreach ($this->invalid as $rule) {
            $output[] = $this->prepareError($rule);
        }
        return $output;
    }