eventData['content'])) { // Save data type $this->eventData['type'] = $type; // Check for hook all registered observers foreach ($this->observers as $observer) { $data = $observer->hookNotificationContent($this); // Check if isset content if (isset($data['content'])) { // Set data from hook observer data $this->setEventData($data); } } return $this->eventData; } return null; } }