src/Tus/Server.php
protected function getPathForPartialUpload(string $key) : string
    {
        list($actualKey, /* $partialUploadKey */) = explode(self::PARTIAL_UPLOAD_NAME_SEPARATOR, $key);

        $path = $this->uploadDir . DIRECTORY_SEPARATOR . $actualKey . DIRECTORY_SEPARATOR;

        if ( ! file_exists($path)) {
            mkdir($path);
        }

        return $path;
    }
protected function getPathForPartialUpload(string $key) : string
    {
        list($actualKey, /* $partialUploadKey */) = explode(self::PARTIAL_UPLOAD_NAME_SEPARATOR, $key);

        $path = $this->uploadDir . DIRECTORY_SEPARATOR . $actualKey . DIRECTORY_SEPARATOR;

        if ( ! file_exists($path)) {
            mkdir($path);
        }

        return $path;
    }
protected function getPathForPartialUpload ( string $ key ) : string { list ( $ actualKey , /* $partialUploadKey */ ) = explode ( self :: PARTIAL_UPLOAD_NAME_SEPARATOR , $ key ) ; $ path = $ this -> uploadDir . DIRECTORY_SEPARATOR . $ actualKey . DIRECTORY_SEPARATOR ; if ( ! file_exists ( $ path ) ) { mkdir ( $ path ) ; } return $ path ; }
Get path for partial upload.

@param string $key

@return string
Get path for partial upload .