Completed
Push — master ( 6c9334...f3ba17 )
by Simonas
02:26
created

src/Query/Span/SpanTermQuery.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/*
4
 * This file is part of the ONGR package.
5
 *
6
 * (c) NFQ Technologies UAB <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace ONGR\ElasticsearchDSL\Query\Span;
13
14
use ONGR\ElasticsearchDSL\Query\TermQuery;
15
16
/**
17
 * Elasticsearch span_term query class.
18
 *
19
 * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html
20
 */
21
class SpanTermQuery extends TermQuery implements SpanQueryInterface
0 ignored issues
show
Deprecated Code introduced by
The class ONGR\ElasticsearchDSL\Query\TermQuery has been deprecated with message: Use the extended class instead. This class is left only for BC compatibility.

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function getType()
27
    {
28
        return 'span_term';
29
    }
30
}
31