<?php
/**
 * Copyright 2018 Adobe
 * All Rights Reserved.
 */

namespace Magento\Elasticsearch\SearchAdapter;

/**
 * The purpose of this class to be a container for the array with ElasticSearch query.
 * @codeCoverageIgnore
 * @deprecated Elasticsearch is no longer supported by Adobe
 * @see this class will be responsible for ES only
 */
class QueryContainer
{
    /**
     * @var array
     */
    private $query;

    /**
     * @param array $query
     */
    public function __construct(array $query)
    {
        $this->query = $query;
    }

    /**
     * Returns a query
     *
     * @return array
     */
    public function getQuery()
    {
        return $this->query;
    }
}
