mirror of
https://github.com/code-rhapsodie/pvrEzCommentBundle.git
synced 2026-03-24 06:42:24 +01:00
21 lines
536 B
PHP
21 lines
536 B
PHP
<?php
|
|
|
|
namespace pvr\EzCommentBundle;
|
|
|
|
use pvr\EzCommentBundle\Security\CommentProvider;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
class PvrEzCommentBundle extends Bundle
|
|
{
|
|
protected $name = 'PvrEzCommentBundle';
|
|
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
|
|
$pvrEzCommentExtension = $container->getExtension('ezpublish');
|
|
$pvrEzCommentExtension->addPolicyProvider(new CommentProvider());
|
|
}
|
|
}
|