public final function notifyByRoles(array $roles, $processAsync = false) { require_once 'Services/Notifications/classes/class.ilNotificationSystem.php'; //$this->beforeSendToListeners(); ilNotificationSystem::sendNotificationToRoles($this, $roles, $processAsync); //$this->afterSendToListeners(); }