public function registerObserver($notificationName, IObserver $observer) { if (self::$isVerbose) { var_dump(func_get_args()); } if (self::$showName) { echo "notificationName: {$notificationName}" . PHP_EOL; } parent::registerObserver($notificationName, $observer); }