| 1 | <?php |
||
| 23 | abstract class AbstractController |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var Container |
||
| 27 | */ |
||
| 28 | protected $container; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * AbstractController constructor. |
||
| 32 | * |
||
| 33 | * @param Container $container |
||
| 34 | */ |
||
| 35 | 5 | public function __construct(Container $container) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $name |
||
| 42 | * |
||
| 43 | * @return mixed |
||
| 44 | * @throws \Interop\Container\Exception\ContainerException |
||
| 45 | * @throws \Slim\Exception\ContainerValueNotFoundException |
||
| 46 | */ |
||
| 47 | protected function get(string $name) |
||
| 51 | } |
||
| 52 |