public function getMessageBag() { if ($this->errors == null) { $this->errors = new MessageBag(); } return $this->errors; }