| 1 | <?php |
||
| 12 | abstract class TableOperation implements OperationInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string|null |
||
| 16 | */ |
||
| 17 | protected $database = null; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $table; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string|null $database |
||
| 26 | * @param string $table |
||
| 27 | */ |
||
| 28 | public function __construct($database, string $table) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function getDatabase() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function getTable(): string |
||
| 49 | } |