| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class Psr6CachedReader extends CachedReader |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var CacheItemPoolInterface |
||
| 23 | */ |
||
| 24 | private $cache; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param ReaderInterface $reader |
||
| 28 | * @param CacheItemPoolInterface $cache |
||
| 29 | * @param KeyGeneratorInterface|null $generator |
||
| 30 | */ |
||
| 31 | public function __construct( |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritDoc} |
||
| 43 | * @throws InvalidArgumentException |
||
| 44 | */ |
||
| 45 | protected function cached(string $key, callable $then): iterable |
||
| 58 |