original_string: public function moveFile($oldPath, $newPath, $isRename = false)
      {
          $oldPath = self::validatePath($oldPath);
          $fullOldPath = $this->getMediaPath($oldPath);
  
          $newPath = self::validatePath($newPath);
          $fullNewPath = $this->getMediaPath($newPath);
  
          return $this->getStorageDisk()->move($fullOldPath, $fullNewPath);
      }
code: public function moveFile($oldPath, $newPath, $isRename = false)
      {
          $oldPath = self::validatePath($oldPath);
          $fullOldPath = $this->getMediaPath($oldPath);
  
          $newPath = self::validatePath($newPath);
          $fullNewPath = $this->getMediaPath($newPath);
  
          return $this->getStorageDisk()->move($fullOldPath, $fullNewPath);
      }
code_tokens: public function moveFile ( $ oldPath , $ newPath , $ isRename = false ) { $ oldPath = self :: validatePath ( $ oldPath ) ; $ fullOldPath = $ this -> getMediaPath ( $ oldPath ) ; $ newPath = self :: validatePath ( $ newPath ) ; $ fullNewPath = $ this -> getMediaPath ( $ newPath ) ; return $ this -> getStorageDisk ( ) -> move ( $ fullOldPath , $ fullNewPath ) ; }
docstring: Moves a file to another location.
  @param string $oldPath Specifies the original path of the file.
  @param string $newPath Specifies the new path of the file.
  @return boolean
docstring_tokens: Moves a file to another location .