ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
Link.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 namespace ILIAS\Data;
6 
12 class 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&#39;s into components.
Definition: URI.php:34
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...