| Total Complexity | 3 | 
| Total Lines | 21 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 11 | final class PhpTemplatesRenderer implements RendererInterface  | 
            ||
| 12 | { | 
            ||
| 13 | /** @var EngineInterface */  | 
            ||
| 14 | private $engine;  | 
            ||
| 15 | |||
| 16 | public function __construct(EngineInterface $engine)  | 
            ||
| 17 |     { | 
            ||
| 18 | $this->engine = $engine;  | 
            ||
| 19 | }  | 
            ||
| 20 | |||
| 21 | public function supports(TagInterface $tag): bool  | 
            ||
| 22 |     { | 
            ||
| 23 | return $tag instanceof PhpTemplatesTagInterface;  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @param PhpTemplatesTagInterface|TagInterface $tag  | 
            ||
| 28 | */  | 
            ||
| 29 | public function render(TagInterface $tag): string  | 
            ||
| 32 | }  | 
            ||
| 33 | }  | 
            ||
| 34 |