AbstractList::configureQuery()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 0
c 0
b 0
f 0
dl 0
loc 2
ccs 1
cts 1
cp 1
rs 10
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
namespace Povs\ListerBundle\Declaration;
4
5
use Doctrine\ORM\QueryBuilder;
6
use Povs\ListerBundle\Mapper\FilterMapper;
7
use Povs\ListerBundle\Mapper\JoinMapper;
8
9
/**
10
 * @author Povilas Margaiatis <[email protected]>
11
 */
12
abstract class AbstractList implements ListInterface
13
{
14
    /**
15
     * @inheritDoc
16
     */
17 1
    public function setParameters(array $parameters): void
18
    {
19 1
    }
20
21
    /**
22
     * @inheritDoc
23
     */
24 1
    public function configure(): array
25
    {
26 1
        return [];
27
    }
28
29
    /**
30
     * @inheritDoc
31
     */
32 1
    public function buildFilterFields(FilterMapper $filterMapper): void
33
    {
34 1
    }
35
36
    /**
37
     * @inheritdoc
38
     */
39 1
    public function buildJoinFields(JoinMapper $joinMapper, ListValueInterface $value): void
40
    {
41 1
        $joinMapper->build();
42
    }
43
44
    /**
45
     * @inheritDoc
46
     */
47 1
    public function configureQuery(QueryBuilder $queryBuilder, ListValueInterface $value): void
48
    {
49 1
    }
50
}
51