protected function createConfig(array $config) { $this->getContainer()->share('config', new Config($config)); }