for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace League\Plates\HydrateTemplate;
use League\Plates;
abstract class HydrateTemplateDecorator implements Plates\HydrateTemplate
{
protected $hydrate_template;
public function __construct(Plates\HydrateTemplate $hydrate_template) {
$this->hydrate_template = $hydrate_template;
}
public function hydrateTemplate(Plates\Template $template) {
return $this->hydrate_template->hydrateTemplate($template);