| 1 | <?php |
||
| 15 | class Router extends RestRouter implements ContainerAwareInterface |
||
| 16 | { |
||
| 17 | use ContainerAwareTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Get a controller object for a given name. |
||
| 21 | * |
||
| 22 | * @param string $name The controller name (excluding prefix) for which to fetch and instance. |
||
| 23 | * |
||
| 24 | * @return ControllerInterface |
||
| 25 | * |
||
| 26 | * @since 1.0 |
||
| 27 | * @throws \RuntimeException |
||
| 28 | */ |
||
| 29 | 1 | protected function fetchController($name) |
|
| 51 | } |
||
| 52 |