Psr6CacheTest.php 727 B

12345678910111213141516171819202122232425262728293031
  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\Tests\Simple;
  11. use Symfony\Component\Cache\Simple\Psr6Cache;
  12. /**
  13. * @group legacy
  14. */
  15. abstract class Psr6CacheTest extends CacheTestCase
  16. {
  17. protected $skippedTests = [
  18. 'testPrune' => 'Psr6Cache just proxies',
  19. ];
  20. public function createSimpleCache($defaultLifetime = 0)
  21. {
  22. return new Psr6Cache($this->createCacheItemPool($defaultLifetime));
  23. }
  24. abstract protected function createCacheItemPool($defaultLifetime = 0);
  25. }