|
@@ 32-33 (lines=2) @@
|
| 29 |
|
$configuration = new Configuration(); |
| 30 |
|
$config = $this->processConfiguration($configuration, $configs); |
| 31 |
|
|
| 32 |
|
if(array_key_exists(self::API_KEY, $config)) |
| 33 |
|
$container->setParameter(self::PREFIX."_".self::API_KEY, $config[self::API_KEY]); |
| 34 |
|
|
| 35 |
|
if(array_key_exists(self::PUBLIC_API_KEY, $config)) |
| 36 |
|
$container->setParameter(self::PREFIX."_".self::PUBLIC_API_KEY, $config[self::PUBLIC_API_KEY]); |
|
@@ 35-36 (lines=2) @@
|
| 32 |
|
if(array_key_exists(self::API_KEY, $config)) |
| 33 |
|
$container->setParameter(self::PREFIX."_".self::API_KEY, $config[self::API_KEY]); |
| 34 |
|
|
| 35 |
|
if(array_key_exists(self::PUBLIC_API_KEY, $config)) |
| 36 |
|
$container->setParameter(self::PREFIX."_".self::PUBLIC_API_KEY, $config[self::PUBLIC_API_KEY]); |
| 37 |
|
|
| 38 |
|
if(array_key_exists(self::TICKET_ID, $config)) |
| 39 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_ID, $config[self::TICKET_ID]); |
|
@@ 38-39 (lines=2) @@
|
| 35 |
|
if(array_key_exists(self::PUBLIC_API_KEY, $config)) |
| 36 |
|
$container->setParameter(self::PREFIX."_".self::PUBLIC_API_KEY, $config[self::PUBLIC_API_KEY]); |
| 37 |
|
|
| 38 |
|
if(array_key_exists(self::TICKET_ID, $config)) |
| 39 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_ID, $config[self::TICKET_ID]); |
| 40 |
|
|
| 41 |
|
if(array_key_exists(self::TICKET_SUBJECT, $config)) |
| 42 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_SUBJECT, $config[self::TICKET_SUBJECT]); |
|
@@ 41-42 (lines=2) @@
|
| 38 |
|
if(array_key_exists(self::TICKET_ID, $config)) |
| 39 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_ID, $config[self::TICKET_ID]); |
| 40 |
|
|
| 41 |
|
if(array_key_exists(self::TICKET_SUBJECT, $config)) |
| 42 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_SUBJECT, $config[self::TICKET_SUBJECT]); |
| 43 |
|
|
| 44 |
|
if(array_key_exists(self::TICKET_MESSAGE, $config)) |
| 45 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_MESSAGE, $config[self::TICKET_MESSAGE]); |
|
@@ 44-45 (lines=2) @@
|
| 41 |
|
if(array_key_exists(self::TICKET_SUBJECT, $config)) |
| 42 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_SUBJECT, $config[self::TICKET_SUBJECT]); |
| 43 |
|
|
| 44 |
|
if(array_key_exists(self::TICKET_MESSAGE, $config)) |
| 45 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_MESSAGE, $config[self::TICKET_MESSAGE]); |
| 46 |
|
|
| 47 |
|
if(array_key_exists(self::ADMIN_USER_EMAIL, $config)) |
| 48 |
|
$container->setParameter(self::PREFIX."_".self::ADMIN_USER_EMAIL, $config[self::ADMIN_USER_EMAIL]); |
|
@@ 47-48 (lines=2) @@
|
| 44 |
|
if(array_key_exists(self::TICKET_MESSAGE, $config)) |
| 45 |
|
$container->setParameter(self::PREFIX."_".self::TICKET_MESSAGE, $config[self::TICKET_MESSAGE]); |
| 46 |
|
|
| 47 |
|
if(array_key_exists(self::ADMIN_USER_EMAIL, $config)) |
| 48 |
|
$container->setParameter(self::PREFIX."_".self::ADMIN_USER_EMAIL, $config[self::ADMIN_USER_EMAIL]); |
| 49 |
|
|
| 50 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 51 |
|
$loader->load('services.yml'); |