public function addRelated(ValidationException $exception) { $this->getRelated()->attach($exception); return $this; }