for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace League\Plates\Extension\Data;
use League\Plates;
/** The DataExtension adds the ability to hydrate data into a template before it gets rendered. */
final class DataExtension implements Plates\Extension
{
public function register(Plates\Engine $plates) {
$plates->wrap('hydrateTemplate.hydrate_templates', function($hts) {
return array_merge($hts, [createDataHydrateTemplate()]);
});
$plates->add('resolve_data_stack', function() {
}