You are here

interface PathComponentInterface in Drupal 7 to 8/9 Module Upgrader 8

Represents a single component of a route path.

Hierarchy

Expanded class hierarchy of PathComponentInterface

All classes that implement PathComponentInterface

File

src/Utility/Path/PathComponentInterface.php, line 8

Namespace

Drupal\drupalmoduleupgrader\Utility\Path
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
PathComponentInterface::isWildcard public function Returns if this component is considered a wildcard. 2
PathComponentInterface::__construct public function Constructs the path component. 1
PathComponentInterface::__toString public function 1