ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FactoryInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\MetaData\Paths;
22
24
26{
27 public function fromString(string $string): PathInterface;
28
36 public function toElement(
38 bool $leads_to_exactly_one = false
40
48 public function betweenElements(
51 bool $leads_to_exactly_one = false
53
54 public function custom(): BuilderInterface;
55}
betweenElements(BaseElementInterface $from, BaseElementInterface $to, bool $leads_to_exactly_one=false)
Returns relative path between two given elements.
toElement(BaseElementInterface $to, bool $leads_to_exactly_one=false)
Returns absolute path from root to the given element.