public function removeMediator($mediatorName) { if (self::$isVerbose) { echo $mediatorName . PHP_EOL; } return parent::removeMediator($mediatorName); }
/** * Remove Mediator * * Remove a previously registered <b>IMediator</b> instance from the <b>View</b>. * * @param string $mediatorName Name of the <b>IMediator</b> instance to be removed. * @return IMediator The <b>IMediator</b> instance previously registered with the given <var>mediatorName</var>. */ public function removeMediator($mediatorName) { return isset($this->view) ? $this->view->removeMediator($mediatorName) : null; }