1
0
mirror of synced 2025-01-06 00:57:10 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/TimestampRegionMock.php
2013-12-16 11:05:05 -05:00

20 lines
380 B
PHP

<?php
namespace Doctrine\Tests\Mocks;
use Doctrine\ORM\Cache\TimestampRegion;
use Doctrine\ORM\Cache\CacheKey;
/**
* Timestamp region mock
*
* Used to mock a TimestampRegion
*/
class TimestampRegionMock extends CacheRegionMock implements TimestampRegion
{
public function update(CacheKey $key)
{
$this->calls[__FUNCTION__][] = array('key' => $key);
}
}