From 996e24bb44feed349a3f0ad04c0e48c15e7f5190 Mon Sep 17 00:00:00 2001 From: Alexander Kiryuhin Date: Fri, 14 Feb 2014 01:36:23 +0400 Subject: ~ maybe last fix --- DependencyInjection/Configuration.php | 20 ++++++++++++++++++++ DependencyInjection/nxpRutilsExtension.php | 28 ++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 DependencyInjection/Configuration.php create mode 100644 DependencyInjection/nxpRutilsExtension.php (limited to 'DependencyInjection') diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php new file mode 100644 index 0000000..45b3ca8 --- /dev/null +++ b/DependencyInjection/Configuration.php @@ -0,0 +1,20 @@ +root('rutils'); + + return $treeBuilder; + } +} diff --git a/DependencyInjection/nxpRutilsExtension.php b/DependencyInjection/nxpRutilsExtension.php new file mode 100644 index 0000000..2b2a39b --- /dev/null +++ b/DependencyInjection/nxpRutilsExtension.php @@ -0,0 +1,28 @@ +processConfiguration($configuration, $configs); + + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); + $loader->load('services.yml'); + } +} -- cgit v1.2.3