| 1 | <?php |
||
| 16 | final class TemplateBlock |
||
| 17 | { |
||
| 18 | /** @var string */ |
||
| 19 | private $name; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | private $template; |
||
| 23 | |||
| 24 | /** @var array */ |
||
| 25 | private $context; |
||
| 26 | |||
| 27 | /** @var int */ |
||
| 28 | private $priority; |
||
| 29 | |||
| 30 | /** @var bool */ |
||
| 31 | private $enabled; |
||
| 32 | |||
| 33 | public function __construct( |
||
| 46 | |||
| 47 | public function getName(): string |
||
| 51 | |||
| 52 | public function getTemplate(): string |
||
| 56 | |||
| 57 | public function getContext(): array |
||
| 61 | |||
| 62 | public function getPriority(): int |
||
| 66 | |||
| 67 | public function isEnabled(): bool |
||
| 71 | } |
||
| 72 |