2011-07-03 11:28:55 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Knp\Bundle\MarkdownBundle;
|
|
|
|
|
2012-10-15 12:24:11 +02:00
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
|
|
use Knp\Bundle\MarkdownBundle\DependencyInjection\Compiler\ParsersCompilerPass;
|
2011-07-03 11:28:55 +02:00
|
|
|
|
2012-10-15 12:24:11 +02:00
|
|
|
class KnpMarkdownBundle extends Bundle
|
2011-07-03 11:28:55 +02:00
|
|
|
{
|
2012-10-15 12:24:11 +02:00
|
|
|
public function build(ContainerBuilder $container)
|
|
|
|
{
|
|
|
|
$container->addCompilerPass(new ParsersCompilerPass());
|
|
|
|
}
|
2011-07-03 11:28:55 +02:00
|
|
|
}
|