Skip to content

Commit

Permalink
Merge 2.x into master
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Jan 26, 2018
2 parents 0791b6b + cb5dbdf commit 17ebe14
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DependencyInjection/SonataSeoExtension.php
Expand Up @@ -45,6 +45,7 @@ public function load(array $configs, ContainerBuilder $container): void

$loader->load('event.xml');
$loader->load('services.xml');
$loader->load('commands.xml');

$this->configureSeoPage($config['page'], $container);
$this->configureSitemap($config['sitemap'], $container);
Expand Down
8 changes: 8 additions & 0 deletions src/Resources/config/commands.xml
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="Sonata\SeoBundle\Command\SitemapGeneratorCommand" class="Sonata\SeoBundle\Command\SitemapGeneratorCommand">
<tag name="console.command"/>
</service>
</services>
</container>

0 comments on commit 17ebe14

Please sign in to comment.