| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class SymfonySecurityResolver implements SymfonySecurityResolverInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var \Traversable|SymfonySecurityResolverInterface[] |
||
| 24 | */ |
||
| 25 | private $resolvers; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param \Traversable|SymfonySecurityResolverInterface[] $resolvers |
||
| 29 | */ |
||
| 30 | 21 | public function __construct($resolvers = []) |
|
| 31 | { |
||
| 32 | 21 | $this->resolvers = $resolvers; |
|
| 33 | 21 | } |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | 1 | public function supports(TestInterface $test) |
|
| 39 | { |
||
| 40 | 1 | return true; |
|
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 15 | public function resolve(TestInterface $test, RouteContextInterface $routeContext) |
|
| 55 | } |
||
| 56 | } |
||
| 57 |