PathComponentInterface.php in Drupal 7 to 8/9 Module Upgrader 8
Namespace
Drupal\drupalmoduleupgrader\Utility\PathFile
src/Utility/Path/PathComponentInterface.phpView source
<?php
namespace Drupal\drupalmoduleupgrader\Utility\Path;
/**
* Represents a single component of a route path.
*/
interface PathComponentInterface {
/**
* Constructs the path component.
*
* @param mixed $value
*/
public function __construct($value);
/**
* @return string
*/
public function __toString();
/**
* Returns if this component is considered a wildcard.
*
* @return bool
*/
public function isWildcard();
}
Interfaces
Name | Description |
---|---|
PathComponentInterface | Represents a single component of a route path. |