ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
LayoutServices.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
23 
27 
33 {
34  use SingletonTrait;
35 
37 
41  public function __construct(string $resource_version)
42  {
43  $this->meta_content = new MetaContent($resource_version);
44  }
45 
49  public function factory(): ModificationFactory
50  {
51  return $this->get(ModificationFactory::class);
52  }
53 
57  public function meta(): MetaContent
58  {
59  return $this->meta_content;
60  }
61 }
PhpIncompatibleReturnTypeInspection
trait SingletonTrait
Class SingletonTrait.
__construct(string $resource_version)
LayoutServices constructor.