ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Link.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Data;
22
28class Link
29{
30 protected string $label;
31 protected URI $url;
32
33 public function __construct(string $label, URI $url)
34 {
35 $this->label = $label;
36 $this->url = $url;
37 }
38
39 public function getLabel(): string
40 {
41 return $this->label;
42 }
43
44 public function getURL(): URI
45 {
46 return $this->url;
47 }
48}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35