Failed Conditions
Push — master ( 5f60a5...9b80eb )
by Rafael
21:42
created

HierarchyPackage   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 80%

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 14
ccs 4
cts 5
cp 0.8
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getParserClassName() 0 2 1
A getUrlDecoderClassName() 0 2 1
1
<?php
2
namespace ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Hierarchy;
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 HierarchyPackage
21
 * @package ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Hierarchy
22
 */
23
class HierarchyPackage extends AbstractFacetPackage {
24
25
    /**
26
     * @return string
27
     */
28 32
    public function getParserClassName() {
29 32
        return (string)HierarchyFacetParser::class;
30
    }
31
32
    /**
33
     * @return string
34
     */
35 2
    public function getUrlDecoderClassName() {
36 2
        return (string)HierarchyUrlDecoder::class;
37
    }
38
}