Skip to content

Commit 802ce59

Browse files
committed
Replace HttpCache namespace with Invalidation
1 parent 9ae15dd commit 802ce59

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

HttpCache/Invalidation/BanInterface.php renamed to Invalidation/Method/BanInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace FOS\HttpCacheBundle\HttpCache\Invalidation;
3+
namespace FOS\HttpCacheBundle\Invalidation\Method;
44

55
/**
66
* An HTTP cache that supports invalidation by banning, that is, removing

HttpCache/Invalidation/PurgeInterface.php renamed to Invalidation/Method/PurgeInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace FOS\HttpCacheBundle\HttpCache\Invalidation;
3+
namespace FOS\HttpCacheBundle\Invalidation\Method;
44

55
/**
66
* An HTTP cache that supports invalidation by purging, that is, removing one

HttpCache/Invalidation/RefreshInterface.php renamed to Invalidation/Method/RefreshInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace FOS\HttpCacheBundle\HttpCache\Invalidation;
3+
namespace FOS\HttpCacheBundle\Invalidation\Method;
44

55
/**
66
* An HTTP cache that supports invalidation by refresh requests that force a

HttpCache/Varnish.php renamed to Invalidation/Varnish.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
22

3-
namespace FOS\HttpCacheBundle\HttpCache;
3+
namespace FOS\HttpCacheBundle\Invalidation;
44

5+
use FOS\HttpCacheBundle\Invalidation\Method\BanInterface;
6+
use FOS\HttpCacheBundle\Invalidation\Method\PurgeInterface;
7+
use FOS\HttpCacheBundle\Invalidation\Method\RefreshInterface;
58
use Guzzle\Http\Client;
69
use Guzzle\Http\ClientInterface;
710
use Guzzle\Http\Exception\CurlException;
811
use Guzzle\Http\Exception\MultiTransferException;
9-
use Monolog\Logger;
10-
use FOS\HttpCacheBundle\HttpCache\Invalidation\BanInterface;
11-
use FOS\HttpCacheBundle\HttpCache\Invalidation\PurgeInterface;
12-
use FOS\HttpCacheBundle\HttpCache\Invalidation\RefreshInterface;
1312
use Guzzle\Http\Message\RequestInterface;
13+
use Monolog\Logger;
1414

1515
/**
1616
* Varnish HTTP cache

0 commit comments

Comments
 (0)