GoogleConverter::setSchema()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
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