diff --git a/cookbook/bundles/configuration.rst b/cookbook/bundles/configuration.rst index f04f1018ccf..ad24bd33ad2 100644 --- a/cookbook/bundles/configuration.rst +++ b/cookbook/bundles/configuration.rst @@ -223,7 +223,12 @@ thrown):: $configuration = new Configuration(); $config = $this->processConfiguration($configuration, $configs); - // ... + + // Example configuration parameter usage: Set configuration variables as + // parameters in the container. + $container->setParameter('twitter.client_id', $config['twitter']['client_id']); + $container->setParameter('twitter.client_secret', $config['twitter']['client_secret']); + } The ``processConfiguration()`` method uses the configuration tree you've defined pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy