PHP Class Tebru\Retrofit\Generation\Printer\ArrayPrinter

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

Public Methods

Method 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 method

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

printArray() public method

Take a PHP array and convert it to a string
public printArray ( array $array ) : string
$array array
return string