Laravel -Code, um die Datei auf dem Server im Speicherordner umzubenennen

///PLEASE VOTE ON CODEGREPPER IF THIS CODE HELPS YOU 
$destination = 'public/reports/'.$oldreport.'.pdf';//or any extension such as jpeg,png
        $newdestination = 'public/reports/'.$reportkey.'.pdf';
      $bb=  Storage::rename( $destination, $newdestination ); // keep the same folder to just rename file on server
Distinct Dunlin