Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / src / Utility / Path / PathComponentInterface.php
diff --git a/web/modules/contrib/drupalmoduleupgrader/src/Utility/Path/PathComponentInterface.php b/web/modules/contrib/drupalmoduleupgrader/src/Utility/Path/PathComponentInterface.php
new file mode 100644 (file)
index 0000000..5b3cf6c
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\drupalmoduleupgrader\Utility\Path\PathComponentInterface.
+ */
+
+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 boolean
+   */
+  public function isWildcard();
+
+}