ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 }
slice(int $offset, ?int $length=null)
Extracts a slice of $length elements starting at position $offset from the Collection.
filter(callable $callable)
Returns all the elements of this collection that satisfy the predicate $callable. ...
Class ilCronJobEntity.
Class ilCronJobCollection.
add(ilCronJobEntity $job)