Completed
Push — master ( 7a82a2...eef030 )
by Pavel
02:12
created

CriteriaChain   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 18
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A buildClass() 0 3 1
A process() 0 3 1
1
<?php namespace Pz\Doctrine\Rest\BuilderChain;
2
3
use Doctrine\Common\Collections\Criteria;
4
5
class CriteriaChain extends Chain
6
{
7
    /**
8
     * @return string
9
     */
10 2
    public function buildClass()
11
    {
12 2
        return Criteria::class;
13
    }
14
15
    /**
16
     * @param Criteria $object
17
     *
18
     * @return Criteria
19
     */
20 2
    public function process($object)
21
    {
22 2
        return parent::process($object);
23
    }
24
}
25