ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
LayoutServices.php
Go to the documentation of this file.
1 <?php namespace ILIAS\GlobalScreen\Scope\Layout;
2 
6 
13 {
14  use SingletonTrait;
18  private $meta_content;
19 
23  public function __construct(string $resource_version)
24  {
25  $this->meta_content = new MetaContent($resource_version);
26  }
27 
28 
32  public function factory() : ModificationFactory
33  {
34  return $this->get(ModificationFactory::class);
35  }
36 
37 
41  public function meta() : MetaContent
42  {
43  return $this->meta_content;
44  }
45 }
trait SingletonTrait
Class SingletonTrait.
__construct(string $resource_version)
LayoutServices constructor.