Lines Matching refs:path
24 * Return a name from a path
25 * @param Path $path
28 public static function getFromPath(Path $path): string
31 $name = $path->getLastNameWithoutExtension();
34 $name = $path->getUrl()->getHost();
90 * is the parent path name
92 $path = $resourceCombo->getPathObject();
99 $path = $path->getParent();
101 // no parent path
109 return self::getFromPath($path);