GoogleConverter   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 3

Importance

Changes 0
Metric Value
wmc 2
lcom 2
cbo 3
dl 0
loc 12
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setSchema() 0 4 1
A setNormalizer() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of gpupo/pipe2
5
 *
6
 * (c) Gilmar Pupo <[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
 * For more information, see
12
 * <https://opensource.gpupo.com/pipe2/>.
13
 */
14
15
namespace Gpupo\Pipe2\Converter;
16
17
use Gpupo\CommonSchema\Sphinx\GoogleSchema;
18
use Gpupo\Pipe2\Normalizer\GoogleNormalizer;
19
20
class GoogleConverter extends ConverterAbstract implements ConverterInterface
21
{
22
    public function setSchema()
23
    {
24
        $this->schema = new GoogleSchema();
25
    }
26
27
    public function setNormalizer()
28
    {
29
        $this->normalizer = new GoogleNormalizer();
30
    }
31
}
32