ILIAS  release_7 Revision v7.30-3-g800a261c036
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 
39  private $meta_content;
40 
44  public function __construct(string $resource_version)
45  {
46  $this->meta_content = new MetaContent($resource_version);
47  }
48 
52  public function factory() : ModificationFactory
53  {
54  return $this->get(ModificationFactory::class);
55  }
56 
60  public function meta() : MetaContent
61  {
62  return $this->meta_content;
63  }
64 }
PhpIncompatibleReturnTypeInspection
trait SingletonTrait
Class SingletonTrait.
__construct(string $resource_version)
LayoutServices constructor.