| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class GetDir extends AQuery |
||
| 15 | { |
||
| 16 | protected string $dirPath = ''; |
||
| 17 | protected int $position = 0; |
||
| 18 | |||
| 19 | 1 | protected function getCommand(): int |
|
| 20 | { |
||
| 21 | 1 | return Fsp::CC_GET_DIR; |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function setDirPath(string $dirPath): self |
|
| 25 | { |
||
| 26 | 1 | $this->dirPath = $dirPath; |
|
| 27 | 1 | return $this; |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | public function setPosition(int $position): self |
|
| 34 | } |
||
| 35 | |||
| 36 | 1 | protected function getFilePosition(): int |
|
| 37 | { |
||
| 38 | 1 | return $this->position; |
|
| 39 | } |
||
| 40 | |||
| 41 | 1 | protected function getData(): string |
|
| 44 | } |
||
| 45 | } |
||
| 46 |