1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/CacheKeyMock.php

22 lines
359 B
PHP
Raw Normal View History

2013-02-14 02:42:13 +04:00
<?php
namespace Doctrine\Tests\Mocks;
use Doctrine\ORM\Cache\CacheKey;
2013-10-23 23:46:45 +04:00
/**
* Cache key mock
*
* Used to store/retrieve entries from a cache region
*/
2013-02-14 02:42:13 +04:00
class CacheKeyMock extends CacheKey
{
2013-10-23 23:46:45 +04:00
/**
* @param string $hash The string hash that represend this cache key
*/
2013-02-14 02:42:13 +04:00
function __construct($hash)
{
$this->hash = $hash;
}
2013-10-17 20:11:56 +04:00
}