Completed
Push — master ( 92445d...878510 )
by Tomasz
03:21
created

FakeClassParent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 2
c 1
b 1
f 0
lcom 0
cbo 1
dl 0
loc 16
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getParentProperty() 0 4 1
1
<?php
2
namespace Thunder\Serializard\Tests\Fake\Inheritance;
3
4
class FakeClassParent extends FakeClassParentParent
5
{
6
    private $parentProperty;
7
8
    public function __construct($parent, $property)
9
    {
10
        parent::__construct($parent);
11
12
        $this->parentProperty = $property;
13
    }
14
15
    public function getParentProperty()
16
    {
17
        return $this->parentProperty;
18
    }
19
}
20