public function addErrors(ErrorResourceInterface ...$errors): void
    {
        $this->errors = array_merge($this->errors, $errors);
    }
public function addErrors(ErrorResourceInterface ...$errors): void
    {
        $this->errors = array_merge($this->errors, $errors);
    }
public function addErrors ( ErrorResourceInterface ... $ errors ) : void { $ this -> errors = array_merge ( $ this -> errors , $ errors ) ; }
Add errors to collection

@param ErrorResourceInterface[] ...$errors
Add errors to collection