# `interface`  QueryAwareDataMapperInterface

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

## Methods

* [setQuery()](#setquery)
* [getQuery()](#getquery)

### setQuery()

```php
public function setQuery(
    Query $query
): mixed
```

Argument|Type|Default|Description
--------|----|-------|-----------
`$query`|[`Query`](../../../ProductApiBundle/Domain/ProductApi/Query.md)||

Return Value: `mixed`

### getQuery()

```php
public function getQuery(): Query
```

Return Value: [`Query`](../../../ProductApiBundle/Domain/ProductApi/Query.md)

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