Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Merge 023c20a into ee49866
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6368 committed Feb 16, 2020
2 parents ee49866 + 023c20a commit 740a9bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
10 changes: 0 additions & 10 deletions src/Resources/config/cache.xml
Expand Up @@ -70,15 +70,5 @@
<service id="sonata.cache.invalidation.simple" class="Sonata\Cache\Invalidation\SimpleCacheInvalidation">
<argument type="service" id="logger"/>
</service>
<service id="sonata.cache.command.flush" class="Sonata\CacheBundle\Command\CacheFlushCommand">
<argument type="constant">null</argument>
<argument type="service" id="sonata.cache.manager"/>
<tag name="console.command"/>
</service>
<service id="sonata.cache.command.flushall" class="Sonata\CacheBundle\Command\CacheFlushAllCommand">
<argument type="constant">null</argument>
<argument type="service" id="sonata.cache.manager"/>
<tag name="console.command"/>
</service>
</services>
</container>
6 changes: 4 additions & 2 deletions src/Resources/config/command.xml
@@ -1,11 +1,13 @@
<?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\CacheBundle\Command\CacheFlushAllCommand" class="Sonata\CacheBundle\Command\CacheFlushAllCommand" public="true">
<service id="Sonata\CacheBundle\Command\CacheFlushAllCommand" class="Sonata\CacheBundle\Command\CacheFlushAllCommand" public="true" autowire="true">
<tag name="console.command"/>
</service>
<service id="Sonata\CacheBundle\Command\CacheFlushCommand" class="Sonata\CacheBundle\Command\CacheFlushCommand" public="true">
<service id="sonata.cache.command.flushall" alias="Sonata\CacheBundle\Command\CacheFlushAllCommand"/>
<service id="Sonata\CacheBundle\Command\CacheFlushCommand" class="Sonata\CacheBundle\Command\CacheFlushCommand" public="true" autowire="true">
<tag name="console.command"/>
</service>
<service id="sonata.cache.command.flush" alias="Sonata\CacheBundle\Command\CacheFlushCommand"/>
</services>
</container>

0 comments on commit 740a9bd

Please sign in to comment.