summaryrefslogtreecommitdiff
path: root/app/Subscriber/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Subscriber/Base.php')
-rw-r--r--app/Subscriber/Base.php66
1 files changed, 0 insertions, 66 deletions
diff --git a/app/Subscriber/Base.php b/app/Subscriber/Base.php
deleted file mode 100644
index 10040626..00000000
--- a/app/Subscriber/Base.php
+++ /dev/null
@@ -1,66 +0,0 @@
-<?php
-
-namespace Subscriber;
-
-use Pimple\Container;
-
-/**
- * Base subscriber class
- *
- * @package subscriber
- * @author Frederic Guillot
- *
- * @property \Integration\SlackWebhook $slackWebhook
- * @property \Integration\HipchatWebhook $hipchatWebhook
- * @property \Model\Board $board
- * @property \Model\Config $config
- * @property \Model\Comment $comment
- * @property \Model\LastLogin $lastLogin
- * @property \Model\Notification $notification
- * @property \Model\Project $project
- * @property \Model\ProjectPermission $projectPermission
- * @property \Model\ProjectActivity $projectActivity
- * @property \Model\ProjectAnalytic $projectAnalytic
- * @property \Model\ProjectDailySummary $projectDailySummary
- * @property \Model\Subtask $subtask
- * @property \Model\Task $task
- * @property \Model\TaskDuplication $taskDuplication
- * @property \Model\TaskExport $taskExport
- * @property \Model\TaskFinder $taskFinder
- * @property \Model\SubtaskTimeTracking $subtaskTimeTracking
- * @property \Model\UserSession $userSession
- * @property \Model\Webhook $webhook
- */
-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 models
- *
- * @access public
- * @param string $name Model name
- * @return mixed
- */
- public function __get($name)
- {
- return $this->container[$name];
- }
-}