| 1 | <?php |
||
| 14 | class EtagHasher implements EtagHasherInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | const ETAG_SEPARATOR = '|'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $algorithm = ''; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $algorithm |
||
| 28 | */ |
||
| 29 | 2 | public function __construct($algorithm) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param Request $request |
||
| 36 | * @param Response $response |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 2 | public function hash(Request $request, Response $response) |
|
| 49 | } |
||
| 50 |