Completed
Pull Request — master (#14)
by Pavel
04:14
created

LazyCriteriaCollection   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 23
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1
ccs 0
cts 6
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A doInitialize() 0 4 1
1
<?php
2
3
namespace Bankiru\Api\Doctrine\Proxy;
4
5
use Bankiru\Api\Doctrine\Persister\EntityPersister;
6
use Doctrine\Common\Collections\AbstractLazyCollection;
7
use Doctrine\Common\Collections\Criteria;
8
9
class LazyCriteriaCollection extends AbstractLazyCollection
10
{
11
12
    /**
13
     * LazyCriteriaCollection constructor.
14
     *
15
     * @param EntityPersister $persister
16
     * @param Criteria        $criteria
17
     */
18
    public function __construct(EntityPersister $persister, Criteria $criteria)
0 ignored issues
show
Unused Code introduced by
The parameter $persister is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $criteria is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
19
    {
20
    }
21
22
    /**
23
     * Do the initialization logic
24
     *
25
     * @return void
26
     */
27
    protected function doInitialize()
28
    {
29
        // TODO: Implement doInitialize() method.
30
    }
31
}
32