Skip to content

Commit

Permalink
Fixed class name typo in Bundle DI extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Eugoné committed Oct 1, 2015
1 parent 5a83256 commit 2eb89a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/EnumExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* @author Yann Eugoné <[email protected]>
*/
class OctoEnumExtension extends Extension
class EnumExtension extends Extension
{
/**
* {@inheritdoc}
Expand Down
9 changes: 9 additions & 0 deletions EnumBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace EnumBundle;

use EnumBundle\DependencyInjection\CompilerPass\CollectEnumCompilerPass;
use EnumBundle\DependencyInjection\EnumExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

Expand All @@ -18,4 +19,12 @@ public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new CollectEnumCompilerPass);
}

/**
* {@inheritdoc}
*/
public function getContainerExtension()
{
return new EnumExtension;
}
}

0 comments on commit 2eb89a0

Please sign in to comment.