diff --git a/flextype/Middleware.php b/flextype/Middleware.php index b4ade0f0..d6ca4417 100644 --- a/flextype/Middleware.php +++ b/flextype/Middleware.php @@ -20,4 +20,11 @@ class Middleware { $this->container = $container; } + + public function __get($property) + { + if ($this->container->{$property}) { + return $this->container->{$property}; + } + } }