diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php new file mode 100644 index 0000000..d1b8c69 --- /dev/null +++ b/DependencyInjection/Configuration.php @@ -0,0 +1,25 @@ +root('shoplo'); + + return $treeBuilder; + } +} diff --git a/DependencyInjection/ShoploExtension.php b/DependencyInjection/ShoploExtension.php new file mode 100644 index 0000000..1191daf --- /dev/null +++ b/DependencyInjection/ShoploExtension.php @@ -0,0 +1,28 @@ +processConfiguration($configuration, $configs); + + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); + $loader->load('services.xml'); + } +} diff --git a/Resources/config/routing.xml b/Resources/config/routing.xml new file mode 100644 index 0000000..8fde1ca --- /dev/null +++ b/Resources/config/routing.xml @@ -0,0 +1,7 @@ + + + + + diff --git a/Resources/config/services.xml b/Resources/config/services.xml new file mode 100644 index 0000000..2fd29c9 --- /dev/null +++ b/Resources/config/services.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/ShoploBundle.php b/ShoploBundle.php new file mode 100644 index 0000000..d745e75 --- /dev/null +++ b/ShoploBundle.php @@ -0,0 +1,10 @@ +