ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
LayoutModification.php
Go to the documentation of this file.
2
3use Closure;
4use LogicException;
5
12{
13 const PRIORITY_LOW = 2;
14 const PRIORITY_HIGH = 64;
15
16
20 public function getPriority() : int;
21
22
30 public function withPriority(int $priority) : LayoutModification;
31
32
37
38
43
44
49 public function isFinal() : bool;
50
51
57 public function withModification(Closure $closure) : LayoutModification;
58
59
63 public function hasValidModification() : bool;
64
65
69 public function getModification() : Closure;
70
71
75 public function getClosureFirstArgumentType() : string;
76
77
81 public function getClosureReturnType() : string;
82
83
87 public function firstArgumentAllowsNull() : bool;
88
89
93 public function returnTypeAllowsNull() : bool;
94}
An exception for terminatinating execution or to throw for unit testing.