ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
PrivateUse.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Data\LanguageTag;
22 
24 
25 class PrivateUse extends LanguageTag
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 file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a valid language tag that should be used instead of plain strings.
Definition: LanguageTag.php:39