Passed
Push — master ( ff11bc...86f473 )
by Povilas
04:07
created

AbstractList::setParameters()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

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