mirror of
https://github.com/flextype/flextype.git
synced 2025-08-28 15:29:59 +02:00
Flextype Core: update base Middleware class #117
This commit is contained in:
@@ -20,4 +20,11 @@ class Middleware
|
||||
{
|
||||
$this->container = $container;
|
||||
}
|
||||
|
||||
public function __get($property)
|
||||
{
|
||||
if ($this->container->{$property}) {
|
||||
return $this->container->{$property};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user