mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 04:56:02 +02:00
26 lines
386 B
PHP
26 lines
386 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Core\Tests\Cache\CacheTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
class MockCache implements TestOnly
|
|
{
|
|
protected $args = [];
|
|
|
|
public function __construct()
|
|
{
|
|
$this->args = func_get_args();
|
|
}
|
|
|
|
/**
|
|
* Get constructor args
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getArgs()
|
|
{
|
|
return $this->args;
|
|
}
|
|
}
|