ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 use ILIAS\UI\Component as C;
25 
26 class Factory implements C\Legacy\Factory
27 {
29 
30  public function __construct(SignalGeneratorInterface $signal_generator)
31  {
32  $this->signal_generator = $signal_generator;
33  }
34 
35  public function content(string $content): Content
36  {
37  return new Content($content, $this->signal_generator);
38  }
39 }
__construct(SignalGeneratorInterface $signal_generator)
Definition: Factory.php:30
SignalGeneratorInterface $signal_generator
Definition: Factory.php:28