protected function PHP_Token_INTERFACE::arrayToName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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
Code
protected function arrayToName(array $parts, $join = '\\') {
$result = '';
if (count($parts) > 1) {
array_pop($parts);
$result = join($join, $parts);
}
return $result;
}