You are here

public function PathUtilityBase::__toString in Drupal 7 to 8/9 Module Upgrader 8

Collapses the path into a string.

Return value

string

Overrides PathUtilityInterface::__toString

File

src/Utility/Path/PathUtilityBase.php, line 131

Class

PathUtilityBase
Base class for PathUtilityInterface implementations.

Namespace

Drupal\drupalmoduleupgrader\Utility\Path

Code

public function __toString() {
  return implode('/', $this
    ->toArray());
}