for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Boekkooi\Bundle\TwigJackBundle\Templating;
use Symfony\Bundle\FrameworkBundle\Templating\TemplateReference as BaseTemplateReference;
/**
* @author Warnar Boekkooi <[email protected]>
*/
class TemplateReference extends BaseTemplateReference
{
public function __construct($path, BaseTemplateReference $childReference)
parent::__construct(
$childReference->get('bundle'),
$childReference->get('controller'),
$childReference->get('name'),
$childReference->get('format'),
$childReference->get('engine')
);
$this->parameters['path'] = $path;
}
* {@inheritdoc}
public function getPath()
return $this->get('path');
public function getLogicalName()
return '!' . parent::getLogicalName();