private function loadCore(ContainerBuilder $container, Loader\YamlFileLoader $loader, $config)
    {
        $isCacheEnabled = $config['metadata_cache'];

        $container->setParameter('ma27_api_key_authentication.model_name', $config['model_name']);
        $container->setParameter('ma27_api_key_authentication.object_manager', $config['object_manager']);
        $container->setParameter('ma27_api_key_authentication.property.apiKeyLength', $config['api_key_length']);
        $container->setParameter('ma27_api_key_authentication.metadata_cache_enabled', $isCacheEnabled);

        if ($isCacheEnabled) {
            $loader->load('metadata_cache_warmer.yml');
        }

        $this->loadPassword($container, $config['password'], $loader);
    }
private function loadCore(ContainerBuilder $container, Loader\YamlFileLoader $loader, $config)
    {
        $isCacheEnabled = $config['metadata_cache'];

        $container->setParameter('ma27_api_key_authentication.model_name', $config['model_name']);
        $container->setParameter('ma27_api_key_authentication.object_manager', $config['object_manager']);
        $container->setParameter('ma27_api_key_authentication.property.apiKeyLength', $config['api_key_length']);
        $container->setParameter('ma27_api_key_authentication.metadata_cache_enabled', $isCacheEnabled);

        if ($isCacheEnabled) {
            $loader->load('metadata_cache_warmer.yml');
        }

        $this->loadPassword($container, $config['password'], $loader);
    }
private function loadCore ( ContainerBuilder $ container , Loader \ YamlFileLoader $ loader , $ config ) { $ isCacheEnabled = $ config [ 'metadata_cache' ] ; $ container -> setParameter ( 'ma27_api_key_authentication.model_name' , $ config [ 'model_name' ] ) ; $ container -> setParameter ( 'ma27_api_key_authentication.object_manager' , $ config [ 'object_manager' ] ) ; $ container -> setParameter ( 'ma27_api_key_authentication.property.apiKeyLength' , $ config [ 'api_key_length' ] ) ; $ container -> setParameter ( 'ma27_api_key_authentication.metadata_cache_enabled' , $ isCacheEnabled ) ; if ( $ isCacheEnabled ) { $ loader -> load ( 'metadata_cache_warmer.yml' ) ; } $ this -> loadPassword ( $ container , $ config [ 'password' ] , $ loader ) ; }
Loads the user and core related stuff of the bundle.

@param ContainerBuilder      $container
@param Loader\YamlFileLoader $loader
@param array                 $config
Loads the user and core related stuff of the bundle .