Skip to content

Commit fe072f6

Browse files
authored
cleanup command service definition
no need to specify the command names in the config file anymore, we use the static property now.
1 parent f8de402 commit fe072f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resources/config/cache_manager_commands.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
<service id="fos_http_cache.command.invalidate_path" class="FOS\HttpCacheBundle\Command\InvalidatePathCommand">
1010
<argument type="service" id="fos_http_cache.cache_manager" />
11-
<tag name="console.command" command="fos:httpcache:invalidate:path"/>
11+
<tag name="console.command"/>
1212
</service>
1313

1414
<service id="fos_http_cache.command.invalidate_regex" class="FOS\HttpCacheBundle\Command\InvalidateRegexCommand">
1515
<argument type="service" id="fos_http_cache.cache_manager" />
16-
<tag name="console.command" command="fos:httpcache:invalidate:regex"/>
16+
<tag name="console.command"/>
1717
</service>
1818

1919
<service id="fos_http_cache.command.refresh_path" class="FOS\HttpCacheBundle\Command\RefreshPathCommand">

0 commit comments

Comments
 (0)