| 1 | <?php |
||
| 16 | abstract class Template implements TemplateInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * {@inheritDoc} |
||
| 20 | */ |
||
| 21 | 1 | public function initialize($filePath) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Get content of template. |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | abstract protected function getTemplateContent(); |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get parameters for replace in resource |
||
| 44 | * |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | protected function getParametersForReplace() |
||
| 51 | } |
||
| 52 |