Skip to content

Commit 39747f6

Browse files
author
André R
committed
Fix usage of HttpCacheBundle TagHandler when it should be lib version
1 parent fb703c8 commit 39747f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/using_tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ For PHP usage, a few options exist _(autowirable classes of '@fos_http_cache.han
147147
* Using low level Tag handler to add tags manually.
148148
* WARNING: This FOS class name, and service name is different in v3 (FosHttpCache 2.x).
149149
*
150-
* @var \FOS\HttpCacheBundle\Handler\TagHandler $tagHandler
150+
* @var \FOS\HttpCache\Handler\TagHandler $tagHandler
151151
*/
152152
$tagHandler->addTags(['relation-33', 'relation-44']);
153153

src/DependencyInjection/Compiler/DriverPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace EzSystems\PlatformHttpCacheBundle\DependencyInjection\Compiler;
88

99
use EzSystems\PlatformHttpCacheBundle\Handler\ContentTagInterface;
10-
use FOS\HttpCacheBundle\Handler\TagHandler as FOSTagHandler;
10+
use FOS\HttpCache\Handler\TagHandler as FOSTagHandler;
1111
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1212
use Symfony\Component\DependencyInjection\ContainerBuilder;
1313

0 commit comments

Comments
 (0)