public function moveTo(string $fullPath) : IFile
    {
        if ($this->moveCallback) {
            return call_user_func($this->moveCallback, $fullPath);
        }

        return $this->file;
    }
public function moveTo(string $fullPath) : IFile
    {
        if ($this->moveCallback) {
            return call_user_func($this->moveCallback, $fullPath);
        }

        return $this->file;
    }
public function moveTo ( string $ fullPath ) : IFile { if ( $ this -> moveCallback ) { return call_user_func ( $ this -> moveCallback , $ fullPath ) ; } return $ this -> file ; }
Moves the file to the supplied path

@param string $fullPath The file path including the file name

@return IFile
Moves the file to the supplied path