1 | <?php |
||
14 | class ChainedResponder extends Set implements ResponderInterface |
||
15 | { |
||
16 | use ResolverTrait; |
||
17 | |||
18 | /** |
||
19 | * @param ResolverInterface $resolver |
||
20 | * @param array $responders |
||
21 | */ |
||
22 | 5 | public function __construct( |
|
34 | |||
35 | /** |
||
36 | * @inheritDoc |
||
37 | */ |
||
38 | 3 | public function __invoke( |
|
50 | |||
51 | /** |
||
52 | * @inheritDoc |
||
53 | * |
||
54 | * @throws ResponderException |
||
55 | * If $classes does not implement the correct interface. |
||
56 | */ |
||
57 | 5 | protected function assertValid(array $classes) |
|
67 | } |
||
68 |