| 1 | <?php |
||
| 10 | trait TemplateTrait |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $template; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @Type("string") |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $templatePath; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $template |
||
| 26 | * @return this |
||
| 27 | */ |
||
| 28 | public function setTemplate($template) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Return common element template |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getTemplate() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getTemplatePath() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $templatePath |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function setTemplatePath($templatePath) |
||
| 61 | } |
||
| 62 |