ILIAS  release_7 Revision v7.30-3-g800a261c036
NullItemInformation.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
28
34{
35 public function isItemActive(isItem $item) : bool
36 {
37 return false;
38 }
39
40 public function customPosition(isItem $item) : isItem
41 {
42 return $item;
43 }
44
46 {
47 return $item;
48 }
49
50 public function getParent(isItem $item) : IdentificationInterface
51 {
52 return new NullIdentification();
53 }
54
55 public function customSymbol(hasSymbol $item) : hasSymbol
56 {
57 return $item;
58 }
59}
An exception for terminatinating execution or to throw for unit testing.
Interface hasSymbol Methods for Entries with Symbols.
Definition: hasSymbol.php:33