InvalidArgumentException.php 725 B

12345678910111213141516171819202122232425
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Cache\Exception;
  11. use Psr\Cache\InvalidArgumentException as Psr6CacheInterface;
  12. use Psr\SimpleCache\InvalidArgumentException as SimpleCacheInterface;
  13. if (interface_exists(SimpleCacheInterface::class)) {
  14. class InvalidArgumentException extends \InvalidArgumentException implements Psr6CacheInterface, SimpleCacheInterface
  15. {
  16. }
  17. } else {
  18. class InvalidArgumentException extends \InvalidArgumentException implements Psr6CacheInterface
  19. {
  20. }
  21. }