Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / src / Utility / Path / PathComponentBase.php
1 <?php
2
3 /**
4  * @file
5  * Contains \Drupal\drupalmoduleupgrader\Utility\Path\PathComponentBase.
6  */
7
8 namespace Drupal\drupalmoduleupgrader\Utility\Path;
9
10 /**
11  * Represents a single component in a route path.
12  */
13 abstract class PathComponentBase implements PathComponentInterface {
14
15   /**
16    * @var string
17    */
18   protected $value;
19
20   /**
21    * {@inheritdoc}
22    */
23   public function __construct($value) {
24     $this->value = $value;
25   }
26
27   /**
28    * {@inheritdoc}
29    */
30   public function __toString() {
31     return $this->value;
32   }
33
34 }