| Total Complexity | 10 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class Schema extends DatabaseItem |
||
| 7 | { |
||
| 8 | private $name; |
||
| 9 | private $isReference; |
||
| 10 | |||
| 11 | public function __construct($name) |
||
| 14 | } |
||
| 15 | |||
| 16 | #[\Override] |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | public function isReference() |
||
| 27 | } |
||
| 28 | |||
| 29 | public function setIsReference($isReference) |
||
| 30 | { |
||
| 31 | $this->isReference = $isReference; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function table($name) |
||
| 43 | } |
||
| 44 | |||
| 45 | public function view($name) |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getName() |
||
| 51 | { |
||
| 52 | return $this->name; |
||
| 53 | } |
||
| 54 | |||
| 55 | #[\Override] |
||
| 59 | ); |
||
| 60 | } |
||
| 63 |