Completed
Push — master ( 725e76...e58edb )
by Marco
04:59
created

getProperty31()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/*
3
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
10
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
11
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
12
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
13
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14
 *
15
 * This software consists of voluntary contributions made by many individuals
16
 * and is licensed under the MIT license.
17
 */
18
19
declare(strict_types=1);
20
21
namespace GeneratedHydratorTestAsset;
22
23
/**
24
 * Base test class to play around with parent class private properties
25
 *
26
 * @author Marco Pivetta <[email protected]>
27
 * @author Pierre Rineau <[email protected]>
28
 * @license MIT
29
 */
30
class ClassWithPrivatePropertiesAndParents extends ClassWithPrivatePropertiesAndParent
31
{
32
    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...
33
34
    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...
35
36
    private $property30 = 'property30';
37
38
    protected $property31 = 'property31';
39
40
    public $property32 = 'property32';
41
42
    /**
43
     * @param string $property0
44
     */
45
    public function setProperty0($property0)
46
    {
47
        $this->property0 = $property0;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getProperty0()
54
    {
55
        return $this->property0;
56
    }
57
58
    /**
59
     * @param string $property20
60
     */
61
    public function setProperty20($property20)
62
    {
63
        $this->property20 = $property20;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getProperty20()
70
    {
71
        return $this->property20;
72
    }
73
74
    /**
75
     * @param string $property30
76
     */
77
    public function setProperty30($property30)
78
    {
79
        $this->property30 = $property30;
80
    }
81
82
    /**
83
     * @return string
84
     */
85
    public function getProperty30()
86
    {
87
        return $this->property30;
88
    }
89
90
    /**
91
     * @param string $property31
92
     */
93
    public function setProperty31($property31)
94
    {
95
        $this->property31 = $property31;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getProperty31()
102
    {
103
        return $this->property31;
104
    }
105
106
    /**
107
     * @param string $property32
108
     */
109
    public function setProperty32($property32)
110
    {
111
        $this->property32 = $property32;
112
    }
113
114
    /**
115
     * @return string
116
     */
117
    public function getProperty32()
118
    {
119
        return $this->property32;
120
    }
121
}
122