container; $this->container['dispatcher']->addListener($event, function() use ($container, $callback) { call_user_func($callback, $container); }); } }