Begin refactoring Tasks to be apart of the Scheduler system

This commit is contained in:
Dane Everitt
2017-09-12 23:45:19 -05:00
parent 07965d0ce7
commit 2ac90b50f2
28 changed files with 902 additions and 468 deletions

View File

@@ -26,22 +26,4 @@ namespace Pterodactyl\Contracts\Repository;
interface TaskRepositoryInterface extends RepositoryInterface
{
/**
* Return the parent tasks and the count of children attached to that task.
*
* @param int $server
* @return mixed
*/
public function getParentTasksWithChainCount($server);
/**
* Return a single task for a given server including all of the chained tasks.
*
* @param int $task
* @param int $server
* @return mixed
*
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
*/
public function getTaskForServer($task, $server);
}