Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class ServiceNameExtractor implements ServiceNameExtractorInterface |
||
7 | { |
||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | const OPTION_KEY = 'ganesha.service_name'; |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | const HEADER_NAME = 'X-Ganesha-Service-Name'; |
||
17 | |||
18 | /** |
||
19 | * @param RequestInterface $request |
||
20 | * @param array $requestOptions |
||
21 | * @return string |
||
22 | */ |
||
23 | public function extract(RequestInterface $request, array $requestOptions) |
||
37 |