/** * Returns all validation errors. * @return array */ public function getAllErrors() { return array_unique(array_merge($this->errors, parent::getAllErrors())); }