mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 05:43:45 +02:00
Begin refactoring Tasks to be apart of the Scheduler system
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user