Collection   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 15
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A append() 0 2 1
A __construct() 0 2 1
1
<?php
2
namespace Aoe\Asdis\Domain\Model\Server;
3
4
/**
5
 * Collection which contains server objects.
6
 */
7
class Collection extends \ArrayIterator
8
{
9
    /**
10
     * Needs to be called due to an extbase bug.
11
     * Hides optional parameters of parent constructor.
12
     */
13 4
    public function __construct() {
14 4
        parent::__construct();
15 4
    }
16
17
    /**
18
     * @param \Aoe\Asdis\Domain\Model\Server $server
19
     */
20 4
    public function append($server) {
21 4
        parent::append($server);
22
    }
23
}