getProperty21()   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
3
declare(strict_types=1);
4
5
namespace GeneratedHydratorTestAsset;
6
7
/**
8
 * Base test class to play around with parent class private properties
9
 */
10
class ClassWithPrivatePropertiesAndParent extends ClassWithPrivateProperties
11
{
12
    /** @var string */
13
    private $property0 = 'property0_fromChild';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
14
15
    /** @var string */
16
    private $property1 = 'property1_fromChild';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
17
18
    /** @var string */
19
    private $property20 = 'property20';
20
21
    /** @var string */
22
    protected $property21 = 'property21';
23
24
    /** @var string */
25
    public $property22 = 'property22';
26
27
    public function setProperty0(string $property0) : void
28
    {
29
        $this->property0 = $property0;
30
    }
31
32
    public function getProperty0() : string
33
    {
34
        return $this->property0;
35
    }
36
37
    public function setProperty1(string $property1) : void
38
    {
39
        $this->property1 = $property1;
40
    }
41
42
    public function getProperty1() : string
43
    {
44
        return $this->property1;
45
    }
46
47
    public function setProperty20(string $property20) : void
48
    {
49
        $this->property20 = $property20;
50
    }
51
52
    public function getProperty20() : string
53
    {
54
        return $this->property20;
55
    }
56
57
    public function setProperty21(string $property21) : void
58
    {
59
        $this->property21 = $property21;
60
    }
61
62
    public function getProperty21() : string
63
    {
64
        return $this->property21;
65
    }
66
67
    public function setProperty22(string $property22) : void
68
    {
69
        $this->property22 = $property22;
70
    }
71
72
    public function getProperty22() : string
73
    {
74
        return $this->property22;
75
    }
76
}
77