ILIAS  release_7 Revision v7.30-3-g800a261c036
interface.ilCronJobCollection.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2/* Copyright (c) 1998-2020 ILIAS open source, Extended GPL, see docs/LICENSE */
3
9{
13 public function add(ilCronJobEntity $job) : void;
14
20 public function filter(callable $callable) : ilCronJobCollection;
21
30 public function slice(int $offset, ?int $length = null) : ilCronJobCollection;
31
35 public function toArray() : array;
36}
An exception for terminatinating execution or to throw for unit testing.
Class ilCronJobEntity.
Class ilCronJobCollection.
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)