# `interface`  LocaleAwareDataMapperInterface

**Fully Qualified**: [`\Frontastic\Common\ShopwareBundle\Domain\DataMapper\LocaleAwareDataMapperInterface`](../../../../../src/php/ShopwareBundle/Domain/DataMapper/LocaleAwareDataMapperInterface.php)

## Methods

* [setLocale()](#setlocale)
* [getLocale()](#getlocale)

### setLocale()

```php
public function setLocale(
    ShopwareLocale $locale
): mixed
```

Argument|Type|Default|Description
--------|----|-------|-----------
`$locale`|[`ShopwareLocale`](../Locale/ShopwareLocale.md)||

Return Value: `mixed`

### getLocale()

```php
public function getLocale(): ShopwareLocale
```

Return Value: [`ShopwareLocale`](../Locale/ShopwareLocale.md)

Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
