-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from FriendsOfSymfony/naming
Improve naming (fix #50)
- Loading branch information
Showing
16 changed files
with
71 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace FOS\HttpCache\Invalidation; | ||
namespace FOS\HttpCache\ProxyClient; | ||
|
||
use FOS\HttpCache\Exception\ExceptionCollection; | ||
use FOS\HttpCache\Exception\InvalidUrlException; | ||
|
@@ -18,7 +18,7 @@ | |
* | ||
* @author David de Boer <[email protected]> | ||
*/ | ||
abstract class AbstractCacheProxy implements CacheProxyInterface | ||
abstract class AbstractProxyClient implements ProxyClientInterface | ||
{ | ||
/** | ||
* IP addresses/hostnames of all caching proxy servers | ||
|
6 changes: 3 additions & 3 deletions
6
src/Invalidation/Method/BanInterface.php → ...ProxyClient/Invalidation/BanInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/Invalidation/CacheProxyInterface.php → src/ProxyClient/ProxyClientInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
|
||
namespace FOS\HttpCache\Invalidation; | ||
namespace FOS\HttpCache\ProxyClient; | ||
|
||
use FOS\HttpCache\Exception\InvalidArgumentException; | ||
use FOS\HttpCache\Exception\MissingHostException; | ||
use FOS\HttpCache\Invalidation\Method\BanInterface; | ||
use FOS\HttpCache\Invalidation\Method\PurgeInterface; | ||
use FOS\HttpCache\Invalidation\Method\RefreshInterface; | ||
use FOS\HttpCache\ProxyClient\Invalidation\BanInterface; | ||
use FOS\HttpCache\ProxyClient\Invalidation\PurgeInterface; | ||
use FOS\HttpCache\ProxyClient\Invalidation\RefreshInterface; | ||
|
||
/** | ||
* Varnish HTTP cache invalidator. | ||
* | ||
* @author David de Boer <[email protected]> | ||
*/ | ||
class Varnish extends AbstractCacheProxy implements BanInterface, PurgeInterface, RefreshInterface | ||
class Varnish extends AbstractProxyClient implements BanInterface, PurgeInterface, RefreshInterface | ||
{ | ||
const HTTP_METHOD_BAN = 'BAN'; | ||
const HTTP_METHOD_PURGE = 'PURGE'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.