CreateWithoutConstructor   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 3 1
1
<?php
2
/**
3
 * File was created 17.05.2016 06:09
4
 */
5
6
namespace PeekAndPoke\Component\Creator;
7
8
/**
9
 * @author Karsten J. Gerber <[email protected]>
10
 */
11
class CreateWithoutConstructor extends AbstractCreator
12
{
13
    /**
14
     * @inheritdoc
15
     */
16 1
    public function create($data = null)
17
    {
18 1
        return $this->getClass()->newInstanceWithoutConstructor();
19
    }
20
}
21