ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PrivateUse.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 private string $value;
28
29 public function __construct(string $value)
30 {
31 $this->value = $value;
32 }
33
34 public function value(): string
35 {
36 return $this->value;
37 }
38}
This class represents a valid language tag that should be used instead of plain strings.
Definition: LanguageTag.php:40