/** * * @return AppKitPrincipalTarget */ public function getTargetObject() { if ($this->target_class && class_exists($this->target_class)) { if ($this->target_object === null) { $this->target_object = AppKit::getInstance($this->target_class); } return $this->target_object; } throw new AppKitDoctrineException('Class %s for target not found!', $this->target_class); }