Valinor/tests/Fake/Cache/Compiled/FakeCacheCompiler.php
Romain Canon 396f64a524 feat: initial release
🎉
2021-11-28 18:21:56 +01:00

20 lines
335 B
PHP

<?php
declare(strict_types=1);
namespace CuyZ\Valinor\Tests\Fake\Cache\Compiled;
use CuyZ\Valinor\Cache\Compiled\CacheCompiler;
use function is_string;
final class FakeCacheCompiler implements CacheCompiler
{
public function compile($value): string
{
assert(is_string($value));
return "'$value'";
}
}