/home/techb158/immovalet.com/platform/core/media/src/Chunks
NameSizeModeActions
Exceptions/-0755rm
Handler/-0755rm
Receiver/-0755rm
Save/-0755rm
Storage/-0755rm
ChunkFile.php18060644editdlrm
FileMerger.php13110644editdlrm
Edit: /home/techb158/immovalet.com/platform/core/media/src/Chunks/ChunkFile.php (1806B)
path = $path; $this->modifiedTime = $modifiedTime; $this->storage = $storage; } /** * @return string */ public function getAbsolutePath() { return $this->storage->disk()->path($this->path); } /** * Moves the chunk file to given relative path (within the disk). * * @param string $pathTo * @return bool */ public function move($pathTo) { return $this->storage->disk()->move($this->path, $pathTo); } /** * Deletes the chunk file. * * @return bool */ public function delete() { return $this->storage->disk()->delete($this->path); } /** * The __toString method allows a class to decide how it will react when it is converted to a string. * * @return string */ public function __toString() { return sprintf('ChunkFile %s uploaded at %s', $this->getPath(), date('Y-m-d H:i:s', $this->getModifiedTime())); } /** * @return string relative to the disk */ public function getPath() { return $this->path; } /** * @return int */ public function getModifiedTime() { return $this->modifiedTime; } }