| 1 | <?php |
||
| 22 | final class CachedRouteNameResolver implements RouteNameResolverInterface |
||
| 23 | { |
||
| 24 | const CACHE_KEY_PREFIX = 'route_name_'; |
||
| 25 | |||
| 26 | private $cacheItemPool; |
||
| 27 | private $decorated; |
||
| 28 | |||
| 29 | public function __construct(CacheItemPoolInterface $cacheItemPool, RouteNameResolverInterface $decorated) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getRouteName(string $resourceClass, bool $collection) : string |
||
| 65 | } |
||
| 66 |