public function hasMediator($notificationName) { if (self::$isVerbose) { echo $notificationName . PHP_EOL; } return parent::hasMediator($notificationName); }
/** * Has Mediator * * Check if a <b>IMediator</b> is registered or not. * * @param string $mediatorName The name of the <b>IMediator</b> to check for. * @return bool Boolean: Whether a <b>IMediator</b> is registered with the given <var>mediatorName</var>. */ public function hasMediator($mediatorName) { return isset($this->view) ? $this->view->hasMediator($mediatorName) : false; }