| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class Database |
||
| 9 | { |
||
| 10 | /** @var PDDatabase\Prefix */ |
||
| 11 | private $prefix; |
||
| 12 | |||
| 13 | /** @var Hash */ |
||
| 14 | private $sourceHash; |
||
| 15 | |||
| 16 | /** @var Command */ |
||
| 17 | private $command; |
||
| 18 | |||
| 19 | |||
| 20 | public function __construct( |
||
| 21 | PDDatabase\Prefix $prefix, |
||
| 22 | Hash $sourceHash, |
||
| 23 | Command $command |
||
| 24 | ) |
||
| 25 | { |
||
| 26 | $this->prefix = $prefix; |
||
| 27 | $this->sourceHash = $sourceHash; |
||
| 28 | $this->command = $command; |
||
| 29 | } |
||
| 30 | |||
| 31 | |||
| 32 | public function build(): bool |
||
| 44 | } |
||
| 45 | |||
| 47 |