Smile\ElasticsuiteCore\Search\Request\Query\Filtered::__construct PHP Метод

__construct() публичный Метод

public __construct ( Magento\Framework\Search\Request\QueryInterface $query = null, Magento\Framework\Search\Request\QueryInterface $filter = null, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE )
$query Magento\Framework\Search\Request\QueryInterface Query part of the filtered query.
$filter Magento\Framework\Search\Request\QueryInterface Filter part of the filtered query.
$name string Query name.
$boost integer Query boost.
    public function __construct(\Magento\Framework\Search\Request\QueryInterface $query = null, \Magento\Framework\Search\Request\QueryInterface $filter = null, $name = null, $boost = QueryInterface::DEFAULT_BOOST_VALUE)
    {
        $this->name = $name;
        $this->boost = $boost;
        $this->filter = $filter;
        $this->query = $query;
    }