diff options
Diffstat (limited to 'app/Integration/Base.php')
-rw-r--r-- | app/Integration/Base.php | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/app/Integration/Base.php b/app/Integration/Base.php deleted file mode 100644 index dbb0349a..00000000 --- a/app/Integration/Base.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php - -namespace Integration; - -use Pimple\Container; - -/** - * Base class - * - * @package integration - * @author Frederic Guillot - * - * @property \Model\ProjectActivity $projectActivity - * @property \Model\ProjectIntegration $projectIntegration - * @property \Model\ProjectPermission $projectPermission - * @property \Model\Task $task - * @property \Model\TaskFinder $taskFinder - * @property \Model\User $user - * @property \Model\Project $project - */ -abstract class Base -{ - /** - * Container instance - * - * @access protected - * @var \Pimple\Container - */ - protected $container; - - /** - * Constructor - * - * @access public - * @param \Pimple\Container $container - */ - public function __construct(Container $container) - { - $this->container = $container; - } - - /** - * Load automatically class from the container - * - * @access public - * @param string $name - * @return mixed - */ - public function __get($name) - { - return $this->container[$name]; - } -} |