Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
QueryContainer Class Reference

Public Member Functions

 __construct (array $query)
 
 getQuery ()
 

Detailed Description

The purpose of this class to be a container for the array with ElasticSearch query. @codeCoverageIgnore

Definition at line 13 of file QueryContainer.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( array  $query)
Parameters
array$query

Definition at line 23 of file QueryContainer.php.

24  {
25  $this->query = $query;
26  }

Member Function Documentation

◆ getQuery()

getQuery ( )

Returns a query

Returns
array

Definition at line 33 of file QueryContainer.php.

34  {
35  return $this->query;
36  }

The documentation for this class was generated from the following file: