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 
25 class Factory implements Layout\Factory
26 {
27  public function __construct(
28  protected Page\Factory $page_factory,
29  protected Alignment\Factory $alignment_factory,
30  ) {
31  }
32 
33  public function page(): Page\Factory
34  {
35  return $this->page_factory;
36  }
37 
38  public function alignment(): Alignment\Factory
39  {
40  return $this->alignment_factory;
41  }
42 }
__construct(protected Page\Factory $page_factory, protected Alignment\Factory $alignment_factory,)
Definition: Factory.php:27
This is what a factory for layouts looks like.
Definition: Factory.php:26