1
0
mirror of synced 2025-01-07 09:37:11 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/TimestampRegionMock.php

20 lines
380 B
PHP
Raw Normal View History

2013-10-04 07:02:42 +04:00
<?php
namespace Doctrine\Tests\Mocks;
use Doctrine\ORM\Cache\TimestampRegion;
use Doctrine\ORM\Cache\CacheKey;
2013-10-23 23:46:45 +04:00
/**
* Timestamp region mock
*
* Used to mock a TimestampRegion
*/
2013-10-04 07:02:42 +04:00
class TimestampRegionMock extends CacheRegionMock implements TimestampRegion
{
public function update(CacheKey $key)
{
$this->calls[__FUNCTION__][] = array('key' => $key);
}
}