mirror of
https://github.com/symfony/cache.git
synced 2026-03-24 07:32:11 +01:00
This reverts commit a0aa94114a7b0334f94eb53c7536c729c1be2fef, reversing changes made to 8496003634906d220ee1bc95f1547ced64545ffa.
26 lines
725 B
PHP
26 lines
725 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\Component\Cache\Exception;
|
|
|
|
use Psr\Cache\InvalidArgumentException as Psr6CacheInterface;
|
|
use Psr\SimpleCache\InvalidArgumentException as SimpleCacheInterface;
|
|
|
|
if (interface_exists(SimpleCacheInterface::class)) {
|
|
class InvalidArgumentException extends \InvalidArgumentException implements Psr6CacheInterface, SimpleCacheInterface
|
|
{
|
|
}
|
|
} else {
|
|
class InvalidArgumentException extends \InvalidArgumentException implements Psr6CacheInterface
|
|
{
|
|
}
|
|
}
|