PHP Class Tebru\Retrofit\Generation\Printer\ArrayPrinter

Author: Nate Brunette ([email protected])
Afficher le fichier Open project: tebru/retrofit-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( PhpParser\Parser $parser = null, PrettyPrinterAbstract $printer = null ) Constructor
printArray ( array $array ) : string Take a PHP array and convert it to a string

Method Details

__construct() public méthode

Constructor
public __construct ( PhpParser\Parser $parser = null, PrettyPrinterAbstract $printer = null )
$parser PhpParser\Parser
$printer PhpParser\PrettyPrinterAbstract

printArray() public méthode

Take a PHP array and convert it to a string
public printArray ( array $array ) : string
$array array
Résultat string