Skip to content

Commit

Permalink
Override Bundle::getContainerExtension to disable LogicException with…
Browse files Browse the repository at this point in the history
… extension name (#21)
  • Loading branch information
emodric authored and andrerom committed Feb 21, 2017
1 parent 33fb5fc commit 20fd587
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bundle/EzSystemsEzContentOnTheFlyBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,18 @@
*/
namespace EzSystems\EzContentOnTheFlyBundle;

use EzSystems\EzContentOnTheFlyBundle\DependencyInjection\ContentOnTheFlyExtension;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class EzSystemsEzContentOnTheFlyBundle extends Bundle
{
protected $name = 'ContentOnTheFlyBundle';

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

0 comments on commit 20fd587

Please sign in to comment.