ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
LayoutModification.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use Closure;
24use LogicException;
25
31{
32 public const PRIORITY_LOW = 2;
33 public const PRIORITY_HIGH = 64;
34
38 public function getPriority(): int;
39
45 public function withPriority(int $priority): LayoutModification;
46
51
56
61 public function isFinal(): bool;
62
67 public function withModification(Closure $closure): LayoutModification;
68
72 public function hasValidModification(): bool;
73
77 public function getModification(): Closure;
78
82 public function getClosureFirstArgumentType(): string;
83
87 public function getClosureReturnType(): string;
88
92 public function firstArgumentAllowsNull(): bool;
93
97 public function returnTypeAllowsNull(): bool;
98}