src/eXpansion/Bundle/Acme/DependencyInjection/AcmeExtension.php 1 location
|
@@ 10-26 (lines=17) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class AcmeExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
|
| 13 |
|
/** |
| 14 |
|
* Loads a specific configuration. |
| 15 |
|
* |
| 16 |
|
* @param array $configs An array of configuration values |
| 17 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 18 |
|
* |
| 19 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 20 |
|
*/ |
| 21 |
|
public function load(array $configs, ContainerBuilder $container) |
| 22 |
|
{ |
| 23 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 24 |
|
$loader->load('plugins.yml'); |
| 25 |
|
} |
| 26 |
|
} |
src/eXpansion/Bundle/Emotes/DependencyInjection/EmotesExtension.php 1 location
|
@@ 10-26 (lines=17) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class EmotesExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
/** |
| 13 |
|
* Loads a specific configuration. |
| 14 |
|
* |
| 15 |
|
* @param array $configs An array of configuration values |
| 16 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 17 |
|
* |
| 18 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 19 |
|
*/ |
| 20 |
|
public function load(array $configs, ContainerBuilder $container) |
| 21 |
|
{ |
| 22 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 23 |
|
$loader->load('chat_commands.yml'); |
| 24 |
|
$loader->load('plugins.yml'); |
| 25 |
|
} |
| 26 |
|
} |
src/eXpansion/Bundle/JoinLeaveMessages/DependencyInjection/JoinLeaveMessagesExtension.php 1 location
|
@@ 10-26 (lines=17) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class JoinLeaveMessagesExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
|
| 13 |
|
/** |
| 14 |
|
* Loads a specific configuration. |
| 15 |
|
* |
| 16 |
|
* @param array $configs An array of configuration values |
| 17 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 18 |
|
* |
| 19 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 20 |
|
*/ |
| 21 |
|
public function load(array $configs, ContainerBuilder $container) |
| 22 |
|
{ |
| 23 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 24 |
|
$loader->load('plugins.yml'); |
| 25 |
|
} |
| 26 |
|
} |
src/eXpansion/Bundle/AdminChat/DependencyInjection/AdminChatExtension.php 1 location
|
@@ 10-26 (lines=17) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class AdminChatExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
/** |
| 13 |
|
* Loads a specific configuration. |
| 14 |
|
* |
| 15 |
|
* @param array $configs An array of configuration values |
| 16 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 17 |
|
* |
| 18 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 19 |
|
*/ |
| 20 |
|
public function load(array $configs, ContainerBuilder $container) |
| 21 |
|
{ |
| 22 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
| 23 |
|
$loader->load('chat_commands.yml'); |
| 24 |
|
$loader->load('plugins.yml'); |
| 25 |
|
} |
| 26 |
|
} |
| 27 |
|
|
src/eXpansion/Bundle/Menu/DependencyInjection/MenuExtension.php 1 location
|
@@ 10-27 (lines=18) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class MenuExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
|
| 13 |
|
/** |
| 14 |
|
* Loads a specific configuration. |
| 15 |
|
* |
| 16 |
|
* @param array $configs An array of configuration values |
| 17 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 18 |
|
* |
| 19 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 20 |
|
*/ |
| 21 |
|
public function load(array $configs, ContainerBuilder $container) |
| 22 |
|
{ |
| 23 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 24 |
|
$loader->load('plugins.yml'); |
| 25 |
|
$loader->load('gui.yml'); |
| 26 |
|
} |
| 27 |
|
} |
src/eXpansion/Bundle/LocalRecords/DependencyInjection/LocalRecordsExtension.php 1 location
|
@@ 10-27 (lines=18) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class LocalRecordsExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
/** |
| 13 |
|
* Loads a specific configuration. |
| 14 |
|
* |
| 15 |
|
* @param array $configs An array of configuration values |
| 16 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 17 |
|
* |
| 18 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 19 |
|
*/ |
| 20 |
|
public function load(array $configs, ContainerBuilder $container) |
| 21 |
|
{ |
| 22 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 23 |
|
$loader->load('services.yml'); |
| 24 |
|
$loader->load('chat_commands.yml'); |
| 25 |
|
$loader->load('gui.yml'); |
| 26 |
|
} |
| 27 |
|
} |
src/eXpansion/Bundle/Maps/DependencyInjection/MapsExtension.php 1 location
|
@@ 10-29 (lines=20) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class MapsExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
|
| 13 |
|
/** |
| 14 |
|
* Loads a specific configuration. |
| 15 |
|
* |
| 16 |
|
* @param array $configs An array of configuration values |
| 17 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 18 |
|
* |
| 19 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 20 |
|
*/ |
| 21 |
|
public function load(array $configs, ContainerBuilder $container) |
| 22 |
|
{ |
| 23 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 24 |
|
$loader->load('services.yml'); |
| 25 |
|
$loader->load('gui.yml'); |
| 26 |
|
$loader->load('chat_commands.yml'); |
| 27 |
|
$loader->load('plugins.yml'); |
| 28 |
|
|
| 29 |
|
} |
| 30 |
|
} |
| 31 |
|
|
src/eXpansion/Framework/GameManiaplanet/DependencyInjection/eXpansionGameManiaplanetExtension.php 1 location
|
@@ 10-26 (lines=17) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class eXpansionGameManiaplanetExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
/** |
| 13 |
|
* Loads a specific configuration. |
| 14 |
|
* |
| 15 |
|
* @param array $configs An array of configuration values |
| 16 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 17 |
|
* |
| 18 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 19 |
|
*/ |
| 20 |
|
public function load(array $configs, ContainerBuilder $container) |
| 21 |
|
{ |
| 22 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 23 |
|
$loader->load('data_providers.yml'); |
| 24 |
|
$loader->load('script_methods.yml'); |
| 25 |
|
} |
| 26 |
|
} |
src/eXpansion/Framework/PlayersBundle/DependencyInjection/eXpansionFrameworkPlayersExtension.php 1 location
|
@@ 15-26 (lines=12) @@
|
| 12 |
|
* |
| 13 |
|
* @link http://symfony.com/doc/current/cookbook/bundles/extension.html |
| 14 |
|
*/ |
| 15 |
|
class eXpansionFrameworkPlayersExtension extends Extension |
| 16 |
|
{ |
| 17 |
|
/** |
| 18 |
|
* {@inheritdoc} |
| 19 |
|
*/ |
| 20 |
|
public function load(array $configs, ContainerBuilder $container) |
| 21 |
|
{ |
| 22 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 23 |
|
$loader->load('plugins.yml'); |
| 24 |
|
$loader->load('services.yml'); |
| 25 |
|
} |
| 26 |
|
} |
| 27 |
|
|
src/eXpansion/Bundle/Admin/DependencyInjection/AdminExtension.php 1 location
|
@@ 10-27 (lines=18) @@
|
| 7 |
|
use Symfony\Component\Config\FileLocator; |
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
class AdminExtension extends Extension |
| 11 |
|
{ |
| 12 |
|
/** |
| 13 |
|
* Loads a specific configuration. |
| 14 |
|
* |
| 15 |
|
* @param array $configs An array of configuration values |
| 16 |
|
* @param ContainerBuilder $container A ContainerBuilder instance |
| 17 |
|
* |
| 18 |
|
* @throws \InvalidArgumentException When provided tag is not defined in this extension |
| 19 |
|
*/ |
| 20 |
|
public function load(array $configs, ContainerBuilder $container) |
| 21 |
|
{ |
| 22 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
| 23 |
|
$loader->load('chat_commands.yml'); |
| 24 |
|
$loader->load('gui.yml'); |
| 25 |
|
} |
| 26 |
|
} |
| 27 |
|
|