PHP
class PHP implements RendererGenerator
Constants
XMLNS_XSL |
XSL namespace |
Properties
string | $cacheDir | ||
string | $className | ||
ControlStructuresOptimizer | $controlStructuresOptimizer | ||
string | $defaultClassPrefix | ||
bool | $enableQuickRenderer | ||
string | $filepath | ||
string | $lastClassName | ||
string | $lastFilepath | ||
protected TemplateNormalizer | $normalizer | ||
Optimizer | $optimizer | ||
string | $phpHeader | ||
Serializer | $serializer |
Methods
__construct(string $cacheDir = null)
Constructor
string
static string
export(array $value)
Export given array as PHP code
string
compileTemplate(string $template)
Compile a template to PHP
Details
at line 98
__construct(string $cacheDir = null)
Constructor
at line 147
string
generate(Rendering $rendering)
Generate the source for a PHP class that renders an intermediate representation according to given rendering configuration
at line 209
static protected string
export(array $value)
Export given array as PHP code
at line 226
protected string
compileTemplate(string $template)
Compile a template to PHP