setProperty32()   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 1
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 ClassWithPrivatePropertiesAndParents extends ClassWithPrivatePropertiesAndParent
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 $property20 = 'property20_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 $property30 = 'property30';
20
21
    /** @var string */
22
    protected $property31 = 'property31';
23
24
    /** @var string */
25
    public $property32 = 'property32';
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 setProperty20(string $property20) : void
38
    {
39
        $this->property20 = $property20;
40
    }
41
42
    public function getProperty20() : string
43
    {
44
        return $this->property20;
45
    }
46
47
    public function setProperty30(string $property30) : void
48
    {
49
        $this->property30 = $property30;
50
    }
51
52
    public function getProperty30() : string
53
    {
54
        return $this->property30;
55
    }
56
57
    public function setProperty31(string $property31) : void
58
    {
59
        $this->property31 = $property31;
60
    }
61
62
    public function getProperty31() : string
63
    {
64
        return $this->property31;
65
    }
66
67
    public function setProperty32(string $property32) : void
68
    {
69
        $this->property32 = $property32;
70
    }
71
72
    public function getProperty32() : string
73
    {
74
        return $this->property32;
75
    }
76
}
77