ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Presenter.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class Presenter implements PresenterInterface
24 {
26  protected DataInterface $data;
28 
29  public function __construct(
30  UtilitiesInterface $utilities,
31  DataInterface $data,
32  ElementsInterface $elements
33  ) {
34  $this->utilities = $utilities;
35  $this->data = $data;
36  $this->elements = $elements;
37  }
38 
39  public function utilities(): UtilitiesInterface
40  {
41  return $this->utilities;
42  }
43 
44  public function data(): DataInterface
45  {
46  return $this->data;
47  }
48 
49  public function elements(): ElementsInterface
50  {
51  return $this->elements;
52  }
53 }
__construct(UtilitiesInterface $utilities, DataInterface $data, ElementsInterface $elements)
Definition: Presenter.php:29