ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Factory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
25class 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:27