You are here

protected function PHP_Token_INTERFACE::arrayToName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-token-stream/src/Token.php \PHP_Token_INTERFACE::arrayToName()

Parameters

array $parts:

string $join:

Return value

string

1 call to PHP_Token_INTERFACE::arrayToName()
PHP_Token_INTERFACE::getPackage in vendor/phpunit/php-token-stream/src/Token.php

File

vendor/phpunit/php-token-stream/src/Token.php, line 519

Class

PHP_Token_INTERFACE

Code

protected function arrayToName(array $parts, $join = '\\') {
  $result = '';
  if (count($parts) > 1) {
    array_pop($parts);
    $result = join($join, $parts);
  }
  return $result;
}