Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
5 | abstract class Middleware |
||
6 | { |
||
7 | /** |
||
8 | * Application Object |
||
9 | * |
||
10 | * @var \System\Application |
||
11 | */ |
||
12 | protected $app; |
||
13 | |||
14 | public function __construct(Application $app) |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Call shared Application Objects dynamically |
||
21 | * |
||
22 | * @param string $key |
||
23 | * @return mixed |
||
24 | */ |
||
25 | public function __get($key) |
||
30 |