Skip to content

Commit

Permalink
Merge pull request #1 from Padam87/http-kernel
Browse files Browse the repository at this point in the history
Removed http kernel dependency
  • Loading branch information
Padam87 committed Jul 21, 2015
2 parents d17bcd8 + 4e7d777 commit 2c4597c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
5 changes: 0 additions & 5 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
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
{
/**
Expand Down
10 changes: 1 addition & 9 deletions DependencyInjection/Padam87CronExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@
namespace Padam87\CronBundle\DependencyInjection;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Extension\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 Padam87CronExtension extends Extension
{
/**
Expand All @@ -22,8 +17,5 @@ public function load(array $configs, ContainerBuilder $container)
$config = $this->processConfiguration($configuration, $configs);

$container->setParameter('padam87_cron', $config);

//$loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
//$loader->load('services.xml');
}
}
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"symfony/console": "~2.3",
"symfony/process": "~2.3",
"symfony/config": "~2.3",
"symfony/http-kernel": "~2.3",
"symfony/dependency-injection": "~2.3"
},
"require-dev": {
Expand Down

0 comments on commit 2c4597c

Please sign in to comment.