/** * Get all the errors for the last validation * * @return array */ public function getErrors() { return array_merge_recursive($this->valid->getErrors(), $this->customErrors); }