1 | <?php |
||
23 | final class AccessTokenResolver implements ArgumentValueResolverInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var TokenStorageInterface |
||
27 | */ |
||
28 | private $tokenStorage; |
||
29 | |||
30 | /** |
||
31 | * AccessTokenResolver constructor. |
||
32 | * |
||
33 | * @param TokenStorageInterface $tokenStorage |
||
34 | */ |
||
35 | public function __construct(TokenStorageInterface $tokenStorage) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function supports(Request $request, ArgumentMetadata $argument) |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function resolve(Request $request, ArgumentMetadata $argument) |
||
62 | } |
||
63 |