[Documentation](../../README.md) > [GoogleImage](README.md) > **saveAs**

# Nelexa\GPlay\Model\GoogleImage::saveAs
`Nelexa\GPlay\Model\GoogleImage::saveAs` — Save image to disk.

## Description
```php
Nelexa\GPlay\Model\GoogleImage::saveAs ( string $destPath ) : Nelexa\GPlay\Model\ImageInfo
```

## Parameters
* **$destPath** (string)  
output filename

## Return Values
returns the object [Nelexa\GPlay\Model\ImageInfo](../ImageInfo/README.md)


## Errors/Exceptions
* Throws [Nelexa\GPlay\Exception\GooglePlayException](../GooglePlayException/README.md) if the error is HTTP or save to disk
## See Also
* [Nelexa\GPlay\Model\ImageInfo](../ImageInfo/README.md) - Contains information about the image.

[Documentation](../../README.md) > [GoogleImage](README.md) > **saveAs**
