class Renderer (View source)

Properties

protected $config

Methods

__construct(array $config)

No description

render($eol = PHP_EOL, $spacer = ' ', $header = "<?php\n\nreturn ", $footer = ";\n")

No description

renderString($array, $eol = PHP_EOL, $spacer = ' ', $header = "<?php\n\nreturn ", $footer = ";\n")

No description

renderRecursive(array $array, $eol = PHP_EOL, $spacer = ' ', $depth = 1)

No description

Details

__construct(array $config)

Parameters

array $config

render($eol = PHP_EOL, $spacer = ' ', $header = "<?php\n\nreturn ", $footer = ";\n")

Parameters

$eol
$spacer
$header
$footer

protected renderString($array, $eol = PHP_EOL, $spacer = ' ', $header = "<?php\n\nreturn ", $footer = ";\n")

Parameters

$array
$eol
$spacer
$header
$footer

protected renderRecursive(array $array, $eol = PHP_EOL, $spacer = ' ', $depth = 1)

Parameters

array $array
$eol
$spacer
$depth