1 | <?php |
||
14 | abstract class BlockRenderer implements BlockRendererInterface |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @var DomainInterface |
||
19 | */ |
||
20 | protected $domain; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $template_root_path; |
||
26 | |||
27 | |||
28 | /** |
||
29 | * BlockRenderer constructor. |
||
30 | * |
||
31 | * @param DomainInterface $domain |
||
32 | */ |
||
33 | public function __construct(DomainInterface $domain) |
||
38 | |||
39 | |||
40 | /** |
||
41 | * Sets the root path to the main block template. |
||
42 | */ |
||
43 | private function setTemplateRootPath() |
||
47 | |||
48 | |||
49 | /** |
||
50 | * Exposes the root path for the main block template. |
||
51 | * @return string |
||
52 | */ |
||
53 | public function templateRootPath() |
||
57 | } |
||
58 |