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

EzFindText   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 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