for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tleckie\Template\Compiler\Parser;
use Tleckie\Template\Compiler\CompilerInterface;
use Tleckie\Template\Compiler\PathInterface;
/**
* Class AbstractRules
*
* @package Tleckie\Template\Compiler\Parser
* @author Teodoro Leckie Westberg <[email protected]>
*/
abstract class AbstractRules implements RulesInterface
{
/** @var PathInterface */
protected PathInterface $templatePath;
protected PathInterface $compiledPath;
/** @var CompilerInterface */
protected CompilerInterface $compiler;
* @inheritdoc
public function getCompiler(): CompilerInterface
return $this->compiler;
}
public function setCompiler(CompilerInterface $compiler): RulesInterface
$this->compiler = $compiler;
return $this;
public function setTemplatePath(PathInterface $templatePath): RulesInterface
$this->templatePath = $templatePath;
public function setCompiledPath(PathInterface $compiledPath): RulesInterface
$this->compiledPath = $compiledPath;