Passed
Push — master ( d5568c...ac874d )
by Timo
28:49 queued 03:56
created

QueryGroupPackage   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 66.67%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 4
c 1
b 0
f 0
dl 0
loc 23
ccs 4
cts 6
cp 0.6667
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getUrlDecoderClassName() 0 3 1
A getQueryBuilderClassName() 0 3 1
A getParserClassName() 0 2 1
1
<?php
2
namespace ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\QueryGroup;
3
4
/*
5
 * This file is part of the TYPO3 CMS project.
6
 *
7
 * It is free software; you can redistribute it and/or modify it under
8
 * the terms of the GNU General Public License, either version 2
9
 * of the License, or any later version.
10
 *
11
 * For the full copyright and license information, please read the
12
 * LICENSE.txt file that was distributed with this source code.
13
 *
14
 * The TYPO3 project - inspiring people to share!
15
 */
16
17
use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\AbstractFacetPackage;
18
19
/**
20
 * Class QueryGroupPackage
21
 */
22
class QueryGroupPackage extends AbstractFacetPackage {
23
24
    /**
25
     * @return string
26
     */
27 37
    public function getParserClassName() {
28 37
        return (string)QueryGroupFacetParser::class;
29
    }
30
31
    /**
32
     * @return string
33
     */
34 33
    public function getQueryBuilderClassName()
35
    {
36 33
        return (string)QueryGroupFacetQueryBuilder::class;
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getUrlDecoderClassName()
43
    {
44
        return (string)QueryGroupUrlDecoder::class;
45
    }
46
}
47