protected function boot()
    {
        if ($this->booted) {
            return;
        }

        $this->booted = true;
        foreach ($this->eventSubscribers as $subscriber) {
            $this->container['eventDispatcher']->addSubscriber($subscriber);
        }
    }