Skip to content
Snippets Groups Projects
OrFilter.php 567 B
Newer Older
ONGR Team's avatar
ONGR Team committed
<?php

/*
 * This file is part of the ONGR package.
 *
 * (c) NFQ Technologies UAB <info@nfq.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace ONGR\ElasticsearchBundle\DSL\Filter;

/**
 * Represents Elasticsearch "or" filter.
 *
 * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-or-filter.html
ONGR Team's avatar
ONGR Team committed
 */
class OrFilter extends AndFilter
ONGR Team's avatar
ONGR Team committed
{
    /**
     * {@inheritdoc}
     */
    public function getType()
    {
        return 'or';
    }
}