src/File.php
public function setMeta(int $offset, int $fileSize, string $filePath, string $location = null) : self
    {
        $this->offset   = $offset;
        $this->fileSize = $fileSize;
        $this->filePath = $filePath;
        $this->location = $location;

        return $this;
    }
public function setMeta(int $offset, int $fileSize, string $filePath, string $location = null) : self
    {
        $this->offset   = $offset;
        $this->fileSize = $fileSize;
        $this->filePath = $filePath;
        $this->location = $location;

        return $this;
    }
public function setMeta ( int $ offset , int $ fileSize , string $ filePath , string $ location = null ) : self { $ this -> offset = $ offset ; $ this -> fileSize = $ fileSize ; $ this -> filePath = $ filePath ; $ this -> location = $ location ; return $ this ; }
Set file meta.

@param int    $offset
@param int    $fileSize
@param string $filePath
@param string $location

@return File
Set file meta .