| Total Complexity | 4 | 
| Total Lines | 36 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 14 | trait DiskWrite  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * @var FilesystemAdapter|null  | 
            ||
| 18 | */  | 
            ||
| 19 | protected $destinationDisk = null;  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @var string  | 
            ||
| 23 | */  | 
            ||
| 24 | protected $destinationDiskPath = '';  | 
            ||
| 25 | |||
| 26 | public function getDestinationDisk(): ?FilesystemAdapter  | 
            ||
| 27 |     { | 
            ||
| 28 | return $this->destinationDisk;  | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | public function setDestinationDisk(?FilesystemAdapter $destinationDisk): self  | 
            ||
| 32 |     { | 
            ||
| 33 | $this->destinationDisk = $destinationDisk;  | 
            ||
| 34 | |||
| 35 | return $this;  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | public function getDestinationDiskPath(): string  | 
            ||
| 39 |     { | 
            ||
| 40 | return $this->destinationDiskPath;  | 
            ||
| 41 | }  | 
            ||
| 42 | |||
| 43 | public function setDestinationDiskPath(string $destinationDiskPath): self  | 
            ||
| 48 | }  | 
            ||
| 49 | abstract public function slashPath(string $path) : string;  | 
            ||
| 50 | }  | 
            ||
| 51 |