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)

No description

Parameters

array $config

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

No description

Parameters

$eol
$spacer
$header
$footer

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

No description

Parameters

$array
$eol
$spacer
$header
$footer

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

No description

Parameters

array $array
$eol
$spacer
$depth