Completed
Push — master ( 01abf8...56bab1 )
by Andy
02:13
created

MembershipCollection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 8
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace mySociety\EveryPoliticianPopolo\Collections;
4
5
class MembershipCollection extends PopoloCollection
6
{
7 24
    public function __construct($dataArr, $allPopolo)
8
    {
9 24
        $objectClass = 'mySociety\\EveryPoliticianPopolo\\Objects\\Membership';
10 24
        parent::__construct($dataArr, $objectClass, $allPopolo);
11 24
    }
12
}
13