ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Permanent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
30{
31 use hasTitleTrait;
33
34 public function __construct(
35 IdentificationInterface $provider_identification,
36 string $title,
37 private URI $uri
38 ) {
39 parent::__construct($provider_identification);
40 $this->title = $title;
41 }
42
43 public function getURI(): URI
44 {
45 return $this->uri;
46 }
47
48 public function withPermanentLink(URI $link): self
49 {
50 $clone = clone $this;
51 $clone->uri = $link;
52 return $clone;
53 }
54
55 public function isTop(): bool
56 {
57 return false;
58 }
59
60}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
__construct(IdentificationInterface $provider_identification, string $title, private URI $uri)
Definition: Permanent.php:34
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc