You are here

public function PathUtilityInterface::getParent in Drupal 7 to 8/9 Module Upgrader 8

Returns a PathUtilityInterface for the parent path.

Return value

static

Throws

\LengthException if the path cannot have a parent (i.e., the path only has one component).

1 method overrides PathUtilityInterface::getParent()
PathUtilityBase::getParent in src/Utility/Path/PathUtilityBase.php
Returns a PathUtilityInterface for the parent path.

File

src/Utility/Path/PathUtilityInterface.php, line 47

Class

PathUtilityInterface
Represents a route path.

Namespace

Drupal\drupalmoduleupgrader\Utility\Path

Code

public function getParent();