/** * @param Container $container * @param string $basePath * @param string $name * @param string $version * @param EventDispatcherInterface $dispatcher */ public function __construct(Container $container, $basePath, $name = 'UNKNOWN', $version = 'UNKNOWN', EventDispatcherInterface $dispatcher) { parent::__construct($name, $version); $this->container = $container; $this->basePath = $basePath; $this->dispatcher = $dispatcher; $container->boot(); }