This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Templado Tracing Helper

1.0.0 2018-10-22 22:17 UTC

This package is auto-updated.

Last update: 2021-11-23 06:13:55 UTC


Helper for tracing View Model calls within the Templado Engine

Sample Usage

$html = \Templado\Engine\Templado::loadHtmlFile('...');
$tracer = new \Templado\Tracer\Tracer();

$traceModel = $tracer->start(new SampleModel());


$trace = $tracer->finish();

$printer = new \Templado\Tracer\CoveragePrinter();
echo $printer->toText($trace);