1 | <?php |
||
14 | final class RequestMatch implements Authentication |
||
15 | { |
||
16 | /** |
||
17 | * @var Authentication |
||
18 | */ |
||
19 | private $authentication; |
||
20 | |||
21 | /** |
||
22 | * @var RequestMatcher |
||
23 | */ |
||
24 | private $matcher; |
||
25 | |||
26 | /** |
||
27 | * @param Authentication $authentication |
||
28 | * @param RequestMatcher $matcher |
||
29 | */ |
||
30 | 4 | public function __construct(Authentication $authentication, RequestMatcher $matcher) |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 2 | public function authenticate(RequestInterface $request) |
|
47 | } |
||
48 |