Completed
Pull Request — master (#12)
by
unknown
01:57
created

Tx_Asdis_Domain_Model_Server_Collection   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A Collection::__construct() 0 3 1
A Collection::append() 0 3 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
}