ILIAS  release_7 Revision v7.30-3-g800a261c036
LayoutModification.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
22use Closure;
23use LogicException;
24
30{
31 public const PRIORITY_LOW = 2;
32 public const PRIORITY_HIGH = 64;
33
37 public function getPriority() : int;
38
44 public function withPriority(int $priority) : LayoutModification;
45
50
55
60 public function isFinal() : bool;
61
66 public function withModification(Closure $closure) : LayoutModification;
67
71 public function hasValidModification() : bool;
72
76 public function getModification() : Closure;
77
81 public function getClosureFirstArgumentType() : string;
82
86 public function getClosureReturnType() : string;
87
91 public function firstArgumentAllowsNull() : bool;
92
96 public function returnTypeAllowsNull() : bool;
97}
An exception for terminatinating execution or to throw for unit testing.