Completed
Push — master ( 729691...42bbe2 )
by Gaetano
25:36
created

EzFindText::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Kaliop\EzFindSearchEngineBundle\API\Repository\Values\Content\Query\Criterion;
4
5
use eZ\Publish\API\Repository\Values\Content\Query\Criterion as BaseCriterion;
6
7
/**
8
 * Full-text search criterion, based on eZFind configuration.
9
 * When this criterion is used (NB: as part of a query's `query`, not `filter`), the given text will be matched against
10
 * all content fields indexed in Solr as per eZFind configuration (including field boosts etc...)
11
 * Note: when using the FullTextr criterion instead of this one, matching is done against the `ezf_df_text` Solr field
12
 */
13
class EzFindText extends BaseCriterion
14
{
15
    public function __construct($value)
16
    {
17
        $this->value = $value;
18
    }
19
}
20