ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
FactoryInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace 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
39  ): PathInterface;
40 
48  public function betweenElements(
51  bool $leads_to_exactly_one = false
52  ): PathInterface;
53 
54  public function custom(): BuilderInterface;
55 }
toElement(BaseElementInterface $to, bool $leads_to_exactly_one=false)
Returns absolute path from root to the given element.
betweenElements(BaseElementInterface $from, BaseElementInterface $to, bool $leads_to_exactly_one=false)
Returns relative path between two given elements.