Skip to content

Commit

Permalink
Merge pull request #6 from OpenClassrooms/Cache_Invalidation
Browse files Browse the repository at this point in the history
Cache invalidation
  • Loading branch information
romainkuzniak committed Aug 12, 2014
2 parents 0f48efc + 2a6ef29 commit 7e7bdfd
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"authors": [
{
"name": "Romain Kuzniak",
"email": "romain.kuzniak@openclassrooms.com"
"email": "romain.kuzniak@turn-it-up.org"
},
{
"name": "OpenClassrooms",
Expand Down
2 changes: 1 addition & 1 deletion src/OpenClassrooms/Cache/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//use Doctrine\Common\Cache\Cache as BaseCache;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
interface Cache extends \Doctrine\Common\Cache\Cache
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenClassrooms/Cache/Cache/CacheBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Doctrine\Common\Cache\CacheProvider;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
interface CacheBuilder
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenClassrooms/Cache/Cache/CacheBuilderImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Doctrine\Common\Cache\CacheProvider;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheBuilderImpl implements CacheBuilder
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenClassrooms/Cache/Cache/CacheImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Doctrine\Common\Cache\CacheProvider;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheImpl implements Cache
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use OpenClassrooms\Cache\CacheServer\Redis;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
abstract class CacheProviderBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use OpenClassrooms\Cache\CacheProvider\Exception\InvalidCacheProviderTypeException;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheProviderBuilderImpl extends CacheProviderBuilder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Cache\CacheProvider;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
final class CacheProviderType
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Cache\CacheProvider\Exception;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class HostShouldBeProvidedException extends \Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Cache\CacheProvider\Exception;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class InvalidCacheProviderTypeException extends \Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenClassrooms/Cache/CacheServer/Memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Cache\CacheServer;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
final class Memcache
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenClassrooms/Cache/CacheServer/Memcached.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Cache\CacheServer;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
final class Memcached
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenClassrooms/Cache/CacheServer/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Cache\CacheServer;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
final class Redis
{
Expand Down
2 changes: 1 addition & 1 deletion tests/OpenClassrooms/Cache/Cache/CacheBuilderImplTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use OpenClassrooms\Tests\Cache\CacheServer\RedisSpy;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheBuilderImplTest extends \PHPUnit_Framework_TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/OpenClassrooms/Cache/Cache/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use OpenClassrooms\Tests\Cache\CacheProvider\CacheProviderSpy;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheTest extends \PHPUnit_Framework_TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use OpenClassrooms\Cache\CacheProvider\CacheProviderBuilder;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
abstract class AbstractCacheProviderBuilderTest extends \PHPUnit_Framework_TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use OpenClassrooms\Cache\CacheProvider\CacheProviderType;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class ArrayCacheBuilderTest extends AbstractCacheProviderBuilderTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use OpenClassrooms\Tests\Cache\CacheServer\RedisSpy;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheProviderBuilderMock extends CacheProviderBuilderImpl
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use OpenClassrooms\Cache\CacheProvider\CacheProviderType;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheProviderBuilderTest extends \PHPUnit_Framework_TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Doctrine\Common\Cache\CacheProvider;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class CacheProviderSpy extends CacheProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use OpenClassrooms\Tests\Cache\CacheServer\MemcacheSpy;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class MemcacheCacheBuilderTest extends AbstractCacheProviderBuilderTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use OpenClassrooms\Tests\Cache\CacheServer\MemcachedSpy;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class MemcachedCacheBuilderTest extends AbstractCacheProviderBuilderTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use OpenClassrooms\Tests\Cache\CacheServer\RedisSpy;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class RedisCacheBuilderTest extends AbstractCacheProviderBuilderTest
{
Expand Down
2 changes: 1 addition & 1 deletion tests/OpenClassrooms/Cache/CacheServer/MemcacheSpy.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Tests\Cache\CacheServer;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class MemcacheSpy extends \Memcache
{
Expand Down
2 changes: 1 addition & 1 deletion tests/OpenClassrooms/Cache/CacheServer/MemcachedSpy.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Tests\Cache\CacheServer;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class MemcachedSpy extends \Memcached
{
Expand Down
2 changes: 1 addition & 1 deletion tests/OpenClassrooms/Cache/CacheServer/RedisSpy.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace OpenClassrooms\Tests\Cache\CacheServer;

/**
* @author Romain Kuzniak <romain.kuzniak@openclassrooms.com>
* @author Romain Kuzniak <romain.kuzniak@turn-it-up.org>
*/
class RedisSpy extends \Redis
{
Expand Down

0 comments on commit 7e7bdfd

Please sign in to comment.