Sindbad~EG File Manager

Current Path : /opt/nginxhttpd_/vendor/doctrine/orm/src/Cache/Exception/
Upload File :
Current File : //opt/nginxhttpd_/vendor/doctrine/orm/src/Cache/Exception/MetadataCacheUsesNonPersistentCache.php

<?php

declare(strict_types=1);

namespace Doctrine\ORM\Cache\Exception;

use Doctrine\Common\Cache\Cache;

use function get_debug_type;

final class MetadataCacheUsesNonPersistentCache extends CacheException
{
    public static function fromDriver(Cache $cache): self
    {
        return new self(
            'Metadata Cache uses a non-persistent cache driver, ' . get_debug_type($cache) . '.'
        );
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists