src/Upload/Storage.php
protected function setFilename($filename)
    {
        $parts = explode('.', $filename);

        $extension = array_pop($parts);

        $name = time() . '-' . str_slug(str_random(35));

        return "{$name}.{$extension}";
    }
protected function setFilename($filename)
    {
        $parts = explode('.', $filename);

        $extension = array_pop($parts);

        $name = time() . '-' . str_slug(str_random(35));

        return "{$name}.{$extension}";
    }
protected function setFilename ( $ filename ) { $ parts = explode ( '.' , $ filename ) ; $ extension = array_pop ( $ parts ) ; $ name = time ( ) . '-' . str_slug ( str_random ( 35 ) ) ; return "{$name}.{$extension}" ; }
Change filename.

@param  string $filename
@return string
Change filename .