partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit c366a262ba7475fd46904cb45d349c59cdb4e8a9
parent 3ea3e88a0378cb35a117b71ba7ab8da1abba3ab0
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed, 24 Jun 2015 19:40:40 +0200

Removed unused files created by the bundle generator

Diffstat:
Dsrc/PartKeepr/PartBundle/DependencyInjection/Configuration.php | 29-----------------------------
Dsrc/PartKeepr/PartBundle/DependencyInjection/PartKeeprPartExtension.php | 28----------------------------
Dsrc/PartKeepr/PartBundle/Resources/config/services.xml | 16----------------
Dsrc/PartKeepr/PartBundle/Resources/views/Default/index.html.twig | 1-
Dsrc/PartKeepr/UnitBundle/Resources/config/services.xml | 16----------------
Dsrc/PartKeepr/UnitBundle/Resources/views/Default/index.html.twig | 1-
6 files changed, 0 insertions(+), 91 deletions(-)

diff --git a/src/PartKeepr/PartBundle/DependencyInjection/Configuration.php b/src/PartKeepr/PartBundle/DependencyInjection/Configuration.php @@ -1,29 +0,0 @@ -<?php - -namespace PartKeepr\PartBundle\DependencyInjection; - -use Symfony\Component\Config\Definition\Builder\TreeBuilder; -use Symfony\Component\Config\Definition\ConfigurationInterface; - -/** - * This is the class that validates and merges configuration from your app/config files - * - * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class} - */ -class Configuration implements ConfigurationInterface -{ - /** - * {@inheritdoc} - */ - public function getConfigTreeBuilder() - { - $treeBuilder = new TreeBuilder(); - $rootNode = $treeBuilder->root('part_keepr_part'); - - // Here you should define the parameters that are allowed to - // configure your bundle. See the documentation linked above for - // more information on that topic. - - return $treeBuilder; - } -} diff --git a/src/PartKeepr/PartBundle/DependencyInjection/PartKeeprPartExtension.php b/src/PartKeepr/PartBundle/DependencyInjection/PartKeeprPartExtension.php @@ -1,28 +0,0 @@ -<?php - -namespace PartKeepr\PartBundle\DependencyInjection; - -use Symfony\Component\DependencyInjection\ContainerBuilder; -use Symfony\Component\Config\FileLocator; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; -use Symfony\Component\DependencyInjection\Loader; - -/** - * This is the class that loads and manages your bundle configuration - * - * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html} - */ -class PartKeeprPartExtension extends Extension -{ - /** - * {@inheritdoc} - */ - public function load(array $configs, ContainerBuilder $container) - { - $configuration = new Configuration(); - $config = $this->processConfiguration($configuration, $configs); - - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); - $loader->load('services.xml'); - } -} diff --git a/src/PartKeepr/PartBundle/Resources/config/services.xml b/src/PartKeepr/PartBundle/Resources/config/services.xml @@ -1,16 +0,0 @@ -<?xml version="1.0" ?> - -<container xmlns="http://symfony.com/schema/dic/services" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> - - <!-- - <services> - <service id="part_keepr_part.example" class="PartKeepr\PartBundle\Example"> - <argument type="service" id="service_id" /> - <argument>plain_value</argument> - <argument>%parameter_name%</argument> - </service> - </services> - --> -</container> diff --git a/src/PartKeepr/PartBundle/Resources/views/Default/index.html.twig b/src/PartKeepr/PartBundle/Resources/views/Default/index.html.twig @@ -1 +0,0 @@ -Hello {{ name }}! diff --git a/src/PartKeepr/UnitBundle/Resources/config/services.xml b/src/PartKeepr/UnitBundle/Resources/config/services.xml @@ -1,16 +0,0 @@ -<?xml version="1.0" ?> - -<container xmlns="http://symfony.com/schema/dic/services" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> - - <!-- - <services> - <service id="part_keepr_unit.example" class="PartKeepr\UnitBundle\Example"> - <argument type="service" id="service_id" /> - <argument>plain_value</argument> - <argument>%parameter_name%</argument> - </service> - </services> - --> -</container> diff --git a/src/PartKeepr/UnitBundle/Resources/views/Default/index.html.twig b/src/PartKeepr/UnitBundle/Resources/views/Default/index.html.twig @@ -1 +0,0 @@ -Hello {{ name }}!