1
0
mirror of synced 2025-02-03 05:49:25 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/TimestampRegionMock.php
2016-12-07 23:33:41 +01:00

20 lines
375 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__][] = ['key' => $key];
}
}