5 * Contains \Drupal\drupalmoduleupgrader\Utility\Path\Drupal8\PathComponent.
8 namespace Drupal\drupalmoduleupgrader\Utility\Path\Drupal8;
10 use Drupal\drupalmoduleupgrader\Utility\Path\PathComponentBase;
13 * Represents a single component in a Drupal 8 route path.
15 class PathComponent extends PathComponentBase {
20 public function isWildcard() {
21 return (boolean) preg_match('/\{[a-zA-Z0-9_]+\}/', $this->value);