function PrettyPrinterAbstract::pCommaSeparated
Pretty prints an array of nodes and implodes the printed values with commas.
Parameters
Node[] $nodes Array of Nodes to be printed:
Return value
string Comma separated pretty printed nodes
21 calls to PrettyPrinterAbstract::pCommaSeparated()
- Standard::pAttribute in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php - Standard::pAttributeGroup in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php - Standard::pClassCommon in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php - Standard::pExpr_Closure in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php - Standard::pExpr_Isset in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinterAbstract.php, line 485
Class
Namespace
PhpParserCode
protected function pCommaSeparated(array $nodes) : string {
return $this->pImplode($nodes, ', ');
}