19declare(strict_types=1);
35 public function filter(callable $callable): static;
45 public function slice(
int $offset, ?
int $length =
null): static;
@template-extends \IteratorAggregate<\ILIAS\Cron\Job\JobEntity>
filter(callable $callable)
Returns all the elements of this collection that satisfy the predicate $callable.
slice(int $offset, ?int $length=null)
Extracts a slice of $length elements starting at position $offset from the Collection.
add(\ILIAS\Cron\Job\JobEntity $job)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.