| Total Complexity | 9 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Begin extends DatabaseItem |
||
| 11 | { |
||
| 12 | private Schema $defaultSchema; |
||
| 13 | |||
| 14 | public function __construct(Schema $defaultSchema) |
||
| 15 | { |
||
| 16 | $this->defaultSchema = $defaultSchema; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function table($name) |
||
| 20 | { |
||
| 21 | return $this->factory->create(ItemType::Table, $name, $this); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function schema($name) |
||
| 27 | } |
||
| 28 | |||
| 29 | public function view($name) |
||
| 30 | { |
||
| 31 | return $this->create('view', $name, $this); |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getName() |
||
| 37 | } |
||
| 38 | |||
| 39 | #[\Override] |
||
| 40 | protected function buildDescription() |
||
| 41 | { |
||
| 42 | } |
||
| 43 | |||
| 44 | public function end() |
||
| 45 | { |
||
| 46 | //DatabaseItem::purge(); |
||
| 47 | } |
||
| 48 | |||
| 49 | public function query($query, $bindData = array()) |
||
| 52 | } |
||
| 53 | |||
| 54 | #[\Override] |
||
| 57 | |||
| 58 | } |
||
| 59 | } |
||
| 60 |