ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
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 
23 use ILIAS\Data\Link;
26 
27 class Factory implements Launcher\Factory
28 {
30 
31  public function __construct(Modal\Factory $modal_factory)
32  {
33  $this->modal_factory = $modal_factory;
34  }
35 
36  public function inline(Link $target): Inline
37  {
38  return new Inline($this->modal_factory, $target);
39  }
40 }
This describes commonalities between the different modals.
Definition: Modal.php:34
__construct(Modal\Factory $modal_factory)
Definition: Factory.php:31
Builds a Color from either hex- or rgb values.
Definition: Factory.php:30