processConfiguration($configuration, $configs); $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); $loader->load('services.xml'); $container->setParameter('verify_ssl', $config['verify_ssl']); $container->setParameter('sender_url', $config['sender_url']); $container->setParameter('content_type', $config['content_type']); $container->setParameter('content_encoding', $config['content_encoding']); $container->setParameter('verbose_curl', $config['verbose_curl']); $container->setParameter('username', $config['username']); $container->setParameter('password', $config['password']); $container->setParameter('sms_account_id', $config['sms_account_id']); $container->setParameter('from', $config['from']); } }