Collection::append()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 2
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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
}