Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 738 Bytes
<?php
namespace OpenSky\Bundle\SitemapBundle;
use OpenSky\Bundle\SitemapBundle\DependencyInjection\Compiler\SitemapProviderPass;
use OpenSky\Bundle\SitemapBundle\DependencyInjection\OpenSkySitemapExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* OpenSkySitemapBundle
*
* @author Bulat Shakirzyanov <bulat@theopenskyproject.com>
* @copyright (c) 2010 OpenSky Project Inc
*/
class OpenSkySitemapBundle extends Bundle
{
public function __construct()
{
$this->extension = new OpenSkySitemapExtension();
}
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new SitemapProviderPass());
}
}
You can’t perform that action at this time.