From 1785d603b825534dc5c223e6cc26807b33cb361b Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 22 Jul 2020 09:41:27 +0300 Subject: [PATCH] fix(core): Fix all namespaces #437 --- src/flextype/Support/Container.php | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/flextype/Support/Container.php diff --git a/src/flextype/Support/Container.php b/src/flextype/Support/Container.php new file mode 100644 index 00000000..9478ea67 --- /dev/null +++ b/src/flextype/Support/Container.php @@ -0,0 +1,36 @@ +container = $container; + } + + /** + * __get + */ + public function __get($property) + { + if ($this->container->{$property}) { + return $this->container->{$property}; + } + } +}