<?php declare(strict_types=1);

namespace Newland\Toubiz\Map\Neos\Tests\Unit\Serialization\Mocks;

use Neos\Cache\Frontend\FrontendInterface;
use Neos\Flow\Cache\CacheManager;

class CacheManagerMock extends CacheManager
{
    public $frontend;
    public function __construct(FrontendInterface $frontend)
    {
        $this->frontend = $frontend;
    }

    public function getCache(string $identifier): FrontendInterface
    {
        return $this->frontend;
    }
}
