Total Complexity | 6 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | final class TokenExtractor implements TokenExtractorInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $prefix; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $name; |
||
31 | |||
32 | /** |
||
33 | * @param string $prefix |
||
34 | * @param string $name |
||
35 | */ |
||
36 | public function __construct(string $prefix, string $name) |
||
37 | { |
||
38 | $this->prefix = $prefix; |
||
39 | $this->name = $name; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function extract(Request $request) |
||
60 | } |
||
61 | } |
||
62 |