public function setDemoStatus(Config $config) { $this->container->set(DemoStatus::class, $config->getDemo()); }