mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-02 12:25:44 -05:00
20 lines
373 B
PHP
20 lines
373 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Schedules;
|
|
|
|
use Pterodactyl\Models\Schedule;
|
|
use Pterodactyl\Models\Task;
|
|
use Throwable;
|
|
|
|
interface DeletesScheduleTasks
|
|
{
|
|
/**
|
|
* The gap the task leaves in the schedule's sequence is closed.
|
|
*
|
|
* @throws Throwable
|
|
*/
|
|
public function delete(Schedule $schedule, Task $task): void;
|
|
}
|