1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/CacheKeyMock.php
2013-12-16 11:05:05 -05:00

22 lines
359 B
PHP

<?php
namespace Doctrine\Tests\Mocks;
use Doctrine\ORM\Cache\CacheKey;
/**
* Cache key mock
*
* Used to store/retrieve entries from a cache region
*/
class CacheKeyMock extends CacheKey
{
/**
* @param string $hash The string hash that represend this cache key
*/
function __construct($hash)
{
$this->hash = $hash;
}
}