| 1 | <?php |
||
| 7 | abstract class AbstractCommand implements CommandInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var DBDataset |
||
| 11 | */ |
||
| 12 | private $_dbDataset; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Command constructor. |
||
| 16 | * |
||
| 17 | * @param DBDataset $_dbDataset |
||
| 18 | */ |
||
| 19 | public function __construct(DBDataset $_dbDataset) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return DBDataset |
||
| 26 | */ |
||
| 27 | public function getDbDataset() |
||
| 31 | |||
| 32 | public function getVersion() |
||
| 36 | |||
| 37 | public function setVersion($version) |
||
| 41 | |||
| 42 | protected function checkExistsVersion() |
||
| 50 | } |
||
| 51 |