| Total Complexity | 7 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class Install extends AQuery |
||
| 19 | { |
||
| 20 | protected string $filePath = ''; |
||
| 21 | protected int $timestamp = 0; |
||
| 22 | |||
| 23 | 1 | protected function getCommand(): int |
|
| 26 | } |
||
| 27 | |||
| 28 | 2 | public function setFilePath(string $filePath): self |
|
| 29 | { |
||
| 30 | 2 | $this->filePath = $filePath; |
|
| 31 | 2 | return $this; |
|
| 32 | } |
||
| 33 | |||
| 34 | 2 | public function setTimestamp(int $timestamp): self |
|
| 35 | { |
||
| 36 | 2 | $this->timestamp = $timestamp; |
|
| 37 | 2 | return $this; |
|
| 38 | } |
||
| 39 | |||
| 40 | 2 | protected function getFilePosition(): int |
|
| 43 | } |
||
| 44 | |||
| 45 | 2 | protected function getData(): string |
|
| 46 | { |
||
| 47 | 2 | return $this->filePath . chr(0); |
|
| 48 | } |
||
| 49 | |||
| 50 | 2 | protected function getExtraData(): string |
|
| 53 | } |
||
| 54 | } |
||
| 55 |