public function clearErrors() { $this->errors = array(); $this->triggeredErrors = array(); return $this; }