ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ScreenContext.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
21 
24 
29 interface ScreenContext
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 }
withReferenceId(ReferenceId $reference_id)