From eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:02:25 -0400 Subject: Helpers refactoring --- app/Auth/Base.php | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'app/Auth') diff --git a/app/Auth/Base.php b/app/Auth/Base.php index e2209e1f..ebf6681b 100644 --- a/app/Auth/Base.php +++ b/app/Auth/Base.php @@ -9,14 +9,8 @@ use Pimple\Container; * * @package auth * @author Frederic Guillot - * - * @property \Core\Session $session - * @property \Model\Acl $acl - * @property \Model\LastLogin $lastLogin - * @property \Model\User $user - * @property \Model\UserSession $userSession */ -abstract class Base +abstract class Base extends \Core\Base { /** * Database instance @@ -26,14 +20,6 @@ abstract class Base */ protected $db; - /** - * Container instance - * - * @access protected - * @var \Pimple\Container - */ - protected $container; - /** * Constructor * @@ -45,16 +31,4 @@ abstract class Base $this->container = $container; $this->db = $this->container['db']; } - - /** - * Load automatically models - * - * @access public - * @param string $name Model name - * @return mixed - */ - public function __get($name) - { - return $this->container[$name]; - } } -- cgit v1.2.3