| 1 | <?php |
||
| 14 | abstract class AbstractCommand implements ActionInterface |
||
| 15 | { |
||
| 16 | use DalActionTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var TemplateInterface |
||
| 20 | */ |
||
| 21 | protected $template; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var ZoneCollection |
||
| 25 | */ |
||
| 26 | protected $zones; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Return related Template if defined. |
||
| 30 | * |
||
| 31 | * @return TemplateInterface $template |
||
| 32 | */ |
||
| 33 | public function getTemplate() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Define Command zones. |
||
| 40 | * |
||
| 41 | * @param ZoneCollection $zones |
||
| 42 | * |
||
| 43 | * @return self |
||
| 44 | */ |
||
| 45 | 2 | public function setZones(ZoneCollection $zones) |
|
| 51 | |||
| 52 | /** |
||
| 53 | * Returns Command zones. |
||
| 54 | * |
||
| 55 | * @return ZoneCollection |
||
| 56 | */ |
||
| 57 | public function getZones() |
||
| 61 | } |
||
| 62 |