diff --git a/flextype/core/Controller.php b/flextype/core/Controller.php index f85534b4..678a39d3 100644 --- a/flextype/core/Controller.php +++ b/flextype/core/Controller.php @@ -11,13 +11,22 @@ namespace Flextype; class Controller { + /** + * Flextype Dependency Container + */ protected $container; + /** + * __construct + */ public function __construct($container) { $this->container = $container; } + /** + * __get + */ public function __get($property) { if ($this->container->{$property}) { diff --git a/flextype/core/Middleware.php b/flextype/core/Middleware.php index e009d5a3..d5136899 100644 --- a/flextype/core/Middleware.php +++ b/flextype/core/Middleware.php @@ -11,13 +11,22 @@ namespace Flextype; class Middleware { + /** + * Flextype Dependency Container + */ protected $container; + /** + * __construct + */ public function __construct($container) { $this->container = $container; } + /** + * __get + */ public function __get($property) { if ($this->container->{$property}) {