ILIAS  release_8 Revision v8.24
interface.ilCronJobCollection.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21interface ilCronJobCollection extends Countable, IteratorAggregate
22{
23 public function add(ilCronJobEntity $job): void;
24
30 public function filter(callable $callable): ilCronJobCollection;
31
40 public function slice(int $offset, ?int $length = null): ilCronJobCollection;
41
45 public function toArray(): array;
46}
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(ilCronJobEntity $job)