ILIAS  release_7 Revision v7.30-3-g800a261c036
ScreenContext.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
24
30{
34 public function getUniqueContextIdentifier() : string;
35
39 public function hasReferenceId() : bool;
40
44 public function getReferenceId() : ReferenceId;
45
50 public function withReferenceId(ReferenceId $reference_id) : ScreenContext;
51
56 public function withAdditionalData(Collection $collection) : ScreenContext;
57
63 public function addAdditionalData(string $key, $value) : ScreenContext;
64
68 public function getAdditionalData() : Collection;
69}
An exception for terminatinating execution or to throw for unit testing.
withReferenceId(ReferenceId $reference_id)