lib/private/Notification/Manager.php
/**
	 * @param INotification $notification
	 * @throws \InvalidArgumentException When the notification is not valid
	 * @since 8.2.0
	 */
@param INotification $notification
@throws \InvalidArgumentException When the notification is not valid
@since 8.2.0
@param INotification $notification @throws \ InvalidArgumentException When the notification is not valid @since 8 . 2 . 0
public function notify(INotification $notification) {
		if (!$notification->isValid()) {
			throw new \InvalidArgumentException('The given notification is invalid');
		}
		$apps = $this->getApps();
		foreach ($apps as $app) {
			try {
				$app->notify($notification);
			} catch (\InvalidArgumentException $e) {
			}
		}
	}
public function notify ( INotification $ notification ) { if ( ! $ notification -> isValid ( ) ) { throw new \ InvalidArgumentException ( 'The given notification is invalid' ) ; } $ apps = $ this -> getApps ( ) ; foreach ( $ apps as $ app ) { try { $ app -> notify ( $ notification ) ; } catch ( \ InvalidArgumentException $ e ) { } } }
@param INotification $notification
 @throws \InvalidArgumentException When the notification is not valid
 @since 8.2.0
@param INotification $notification @throws \ InvalidArgumentException When the notification is not valid @since 8 . 2 . 0