Add abstract function

This commit is contained in:
Dennis Eichhorn 2018-07-29 21:53:21 +02:00
parent 47dfb029f7
commit 6a14f221ee

View File

@ -181,4 +181,16 @@ abstract class SchedulerAbstract
{
$this->run($task->getCommand());
}
/**
* Get all jobs/tasks by name
*
* @param string $name Name of the job
* @param bool $exact Name has to be exact
*
* @return array
*
* @since 1.0.0
*/
abstract public function getAllByName(string $name, bool $exact = true) : array;
}