private function __construct(Container $container) { $this->container = $container; $this->container->set(self::REGISTER_KEY, []); }