You are here

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

Constructs a path utility.

Parameters

mixed $path: The path to wrap, either as a string or an array.

Throws

\InvalidArgumentException

1 method overrides PathUtilityInterface::__construct()
PathUtilityBase::__construct in src/Utility/Path/PathUtilityBase.php
Constructs a path utility.

File

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

Class

PathUtilityInterface
Represents a route path.

Namespace

Drupal\drupalmoduleupgrader\Utility\Path

Code

public function __construct($path);