| 1 | <?php |
||
| 17 | class CachedRouteNameResolver implements RouteNameResolverInterface |
||
| 18 | { |
||
| 19 | const CACHE_KEY_PREFIX = 'route_name_'; |
||
| 20 | |||
| 21 | private $cacheItemPool; |
||
| 22 | private $decorated; |
||
| 23 | |||
| 24 | public function __construct(CacheItemPoolInterface $cacheItemPool, RouteNameResolverInterface $decorated) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function getRouteName(string $resourceClass, bool $collection) : string |
||
| 60 | } |
||
| 61 |