| 1 | <?php |
||
| 12 | class HeaderCacheKeyGenerator implements CacheKeyGenerator |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The header names we should take into account when creating the cache key. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | private $headerNames; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param $headerNames |
||
| 23 | */ |
||
| 24 | 3 | public function __construct(array $headerNames) |
|
| 28 | |||
| 29 | 1 | public function generate(RequestInterface $request) |
|
| 38 | } |
||
| 39 |