FakeClassParent::getParentProperty()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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