public function __construct(array $config)
{
$this->setContainer($this->createContainer($config));
$this->createConfig($this->getContainer()->get('config.raw'));
$providers = array_key_exists('providers', $config) ? $config['providers'] : [];
$this->registerProviders(array_merge($this->defaultProviders, $providers));
}