/** * Constructor * * @access public * @param integer $project_id Project id * @param \Model\Task $task Task model instance */ public function __construct($project_id, Task $task) { parent::__construct($project_id); $this->task = $task; }
/** * Constructor * * @access public * @param integer $project_id Project id * @param \Model\Task $task Task model instance * @param \Model\Acl $acl Acl model instance */ public function __construct($project_id, Task $task, Acl $acl) { parent::__construct($project_id); $this->task = $task; $this->acl = $acl; }