ILIAS  release_8 Revision v8.24
Link.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5namespace ILIAS\Data;
6
12class Link
13{
14 protected string $label;
15 protected URI $url;
16
17 public function __construct(string $label, URI $url)
18 {
19 $this->label = $label;
20 $this->url = $url;
21 }
22
23 public function getLabel(): string
24 {
25 return $this->label;
26 }
27
28 public function getURL(): URI
29 {
30 return $this->url;
31 }
32}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35