ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AutoresponderCollection.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use InvalidArgumentException;
24
26{
27 public function add(AutoresponderDto $element): void;
32 public function remove($key): void;
34 public function removeElement(AutoresponderDto $element): void;
36 public function containsKey($key): bool;
37 public function getKey(AutoresponderDto $element): int;
38 public function clear(): void;
39 public function contains(AutoresponderDto $element): bool;
41 public function get($key): ?AutoresponderDto;
43 public function set($key, AutoresponderDto $value): void;
44 public function isEmpty(): bool;
46 public function getKeys(): array;
48 public function getValues(): array;
49 public function filter(callable $callable): self;
50 public function slice(int $offset, ?int $length = null): self;
52 public function toArray(): array;
53 public function equals($other): bool;
54}
slice(int $offset, ?int $length=null)