private function generateNewTmpPath($fileName)
    {
        $folder = sys_get_temp_dir().DIRECTORY_SEPARATOR."tmp".md5($fileName. uniqid('', true)).DIRECTORY_SEPARATOR;

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

        $this->tmpDir = $folder;
    }
private function generateNewTmpPath($fileName)
    {
        $folder = sys_get_temp_dir().DIRECTORY_SEPARATOR."tmp".md5($fileName. uniqid('', true)).DIRECTORY_SEPARATOR;

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

        $this->tmpDir = $folder;
    }
private function generateNewTmpPath ( $ fileName ) { $ folder = sys_get_temp_dir ( ) . DIRECTORY_SEPARATOR . "tmp" . md5 ( $ fileName . uniqid ( '' , true ) ) . DIRECTORY_SEPARATOR ; if ( ! file_exists ( $ folder ) ) { mkdir ( $ folder ) ; } $ this -> tmpDir = $ folder ; }
generate unique tmp folder based on delivery.
@param $fileName
generate unique tmp folder based on delivery .