You are here

PathUtility.php in Drupal 7 to 8/9 Module Upgrader 8

File

src/Utility/Path/Drupal8/PathUtility.php
View source
<?php

namespace Drupal\drupalmoduleupgrader\Utility\Path\Drupal8;

use Drupal\drupalmoduleupgrader\Utility\Path\PathUtilityBase;

/**
 * Represents a Drupal 8 route path.
 */
class PathUtility extends PathUtilityBase {

  /**
   * {@inheritdoc}
   */
  public static function getComponent($value) {
    return new PathComponent($value);
  }

}

Classes

Namesort descending Description
PathUtility Represents a Drupal 8 route path.