public function notify(Observable &$subject, $eventType, IEventArguments $arguments) { if ($subject instanceof SlimSystem && $subject->get("root_class") != __CLASS__) { return; } $arguments->renderclass->setParent($this); }