| 1 | <?php |
||
| 10 | class PsrContainerAwareRouter extends SimpleRouter |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ContainerInterface |
||
| 14 | */ |
||
| 15 | private $container; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param ContainerInterface $container |
||
| 19 | * @param array $receivers |
||
| 20 | */ |
||
| 21 | public function __construct(ContainerInterface $container, array $receivers = []) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | protected function get($name) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | protected function accepts($receiver) |
||
| 45 | } |
||
| 46 |