| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Middleware |
||
| 6 | { |
||
| 7 | use \PHPPgAdmin\Traits\HelperTrait; |
||
| 8 | protected $container; |
||
| 9 | protected $router; |
||
| 10 | |||
| 11 | public function __construct($container) |
||
| 12 | { |
||
| 13 | $this->container = $container; |
||
| 14 | $this->router = $container->get('router'); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function __get($property) |
||
| 21 | } |
||
| 22 | } |
||
| 24 |