for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPPgAdmin\Middleware;
class Middleware
{
use \PHPPgAdmin\Traits\HelperTrait;
protected $container;
protected $router;
public function __construct($container)
$this->container = $container;
$this->router = $container->get('router');
}
public function __get($property)
if (isset($this->container->{$property})) {
return $this->container->{$property};