ILIAS  release_7 Revision v7.30-3-g800a261c036
LayoutServices.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
23
27
33{
35
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 {
63 }
64}
An exception for terminatinating execution or to throw for unit testing.
__construct(string $resource_version)
LayoutServices constructor.
@noinspection PhpIncompatibleReturnTypeInspection
trait SingletonTrait
Class SingletonTrait.