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
27{
28 public function userDefined(string $key, string $value): Tag
29 {
30 return new UserDefined($key, $value);
31 }
32
36 public function collection(array $tags): TagCollection
37 {
38 return new TagCollection(...$tags);
39 }
40
41 public function nullTag(): Tag
42 {
43 return new NullTag();
44 }
45}
userDefined(string $key, string $value)
Definition: Factory.php:28