for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace League\Plates;
/** mutable template reference to allow relationships */
final class TemplateReference
{
public $template;
public function __invoke() {
return $this->template;
}
public function update(Template $template) {
$this->template = $template;
return $this;