KnpU\OAuth2ClientBundle\Tests\app\TestKernel::registerContainerConfiguration PHP Method

registerContainerConfiguration() public method

public registerContainerConfiguration ( Symfony\Component\Config\Loader\LoaderInterface $loader )
$loader Symfony\Component\Config\Loader\LoaderInterface
    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $loader->load(function (ContainerBuilder $container) {
            $container->loadFromExtension('framework', ['secret' => 'this is a cool bundle. Shhh..., it\'s a secret...', 'router' => ['resource' => __DIR__ . '/routing.yml']]);
            $container->loadFromExtension('knpu_oauth2_client', ['clients' => ['my_facebook' => ['type' => 'facebook', 'client_id' => 'FOOO', 'client_secret' => 'BAR', 'graph_api_version' => 'v2.5', 'redirect_route' => 'my_test_route']]]);
        });
    }