Files
Phraseanet/lib/Alchemy/Phrasea/TaskManager/Job/JobData.php
Romain Neutron 5d2dd07caa Fix latest rebase
2013-10-29 18:56:01 +01:00

45 lines
810 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2013 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Phrasea\TaskManager\Job;
use Alchemy\Phrasea\Application;
use Alchemy\TaskManager\JobDataInterface;
use Alchemy\Phrasea\Model\Entities\Task;
class JobData implements JobDataInterface
{
private $app;
private $task;
public function __construct(Application $app, Task $task)
{
$this->app = $app;
$this->task = $task;
}
/**
* @return Application
*/
public function getApplication()
{
return $this->app;
}
/**
* @return Task
*/
public function getTask()
{
return $this->task;
}
}