public function uploadFile(UploadedFile $file, $transformConfig = [], $appendedPath = null)
    {
        if ($file->isValid()) {
            return $this->upload(new SymfonyFile($file), $transformConfig, $appendedPath);
        }

        return false;
    }
public function uploadFile(UploadedFile $file, $transformConfig = [], $appendedPath = null)
    {
        if ($file->isValid()) {
            return $this->upload(new SymfonyFile($file), $transformConfig, $appendedPath);
        }

        return false;
    }
public function uploadFile ( UploadedFile $ file , $ transformConfig = [ ] , $ appendedPath = null ) { if ( $ file -> isValid ( ) ) { return $ this -> upload ( new SymfonyFile ( $ file ) , $ transformConfig , $ appendedPath ) ; } return false ; }
Uploads a single file and returns the filepath if successful.
Returns false on failure.

@param UploadedFile $file
@param array        $transformConfig
@param              $appendedPath

@return bool|string
Uploads a single file and returns the filepath if successful . Returns false on failure .