drupalmoduleupgrader-8.x-1.5/src/Utility/Path/PathComponentBase.php

src/Utility/Path/PathComponentBase.php
<?php

namespace Drupal\drupalmoduleupgrader\Utility\Path;

/**
 * Represents a single component in a route path.
 */
abstract class PathComponentBase implements PathComponentInterface {

  /**
   * @var string
   */
  protected $value;

  /**
   * {@inheritdoc}
   */
  public function __construct($value) {
    $this->value = $value;
  }

  /**
   * {@inheritdoc}
   */
  public function __toString() {
    return $this->value;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc