1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace GeneratedHydratorTestAsset; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* Base test class to play around with mixed visibility properties |
9
|
|
|
*/ |
10
|
|
|
class ClassWithMixedProperties |
11
|
|
|
{ |
12
|
|
|
/** @var string */ |
13
|
|
|
public $publicProperty0 = 'publicProperty0'; |
14
|
|
|
|
15
|
|
|
/** @var string */ |
16
|
|
|
public $publicProperty1 = 'publicProperty1'; |
17
|
|
|
|
18
|
|
|
/** @var string */ |
19
|
|
|
public $publicProperty2 = 'publicProperty2'; |
20
|
|
|
|
21
|
|
|
/** @var string */ |
22
|
|
|
protected $protectedProperty0 = 'protectedProperty0'; |
23
|
|
|
|
24
|
|
|
/** @var string */ |
25
|
|
|
protected $protectedProperty1 = 'protectedProperty1'; |
26
|
|
|
|
27
|
|
|
/** @var string */ |
28
|
|
|
protected $protectedProperty2 = 'protectedProperty2'; |
29
|
|
|
|
30
|
|
|
/** @var string */ |
31
|
|
|
private $privateProperty0 = 'privateProperty0'; |
32
|
|
|
|
33
|
|
|
/** @var string */ |
34
|
|
|
private $privateProperty1 = 'privateProperty1'; |
35
|
|
|
|
36
|
|
|
/** @var string */ |
37
|
|
|
private $privateProperty2 = 'privateProperty2'; |
38
|
|
|
|
39
|
|
|
public function setPrivateProperty0(string $privateProperty0) : void |
40
|
|
|
{ |
41
|
|
|
$this->privateProperty0 = $privateProperty0; |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
public function getPrivateProperty0() : string |
45
|
|
|
{ |
46
|
|
|
return $this->privateProperty0; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
public function setPrivateProperty1(string $privateProperty1) : void |
50
|
|
|
{ |
51
|
|
|
$this->privateProperty1 = $privateProperty1; |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
public function getPrivateProperty1() : string |
55
|
|
|
{ |
56
|
|
|
return $this->privateProperty1; |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
public function setPrivateProperty2(string $privateProperty2) : void |
60
|
|
|
{ |
61
|
|
|
$this->privateProperty2 = $privateProperty2; |
62
|
|
|
} |
63
|
|
|
|
64
|
|
|
public function getPrivateProperty2() : string |
65
|
|
|
{ |
66
|
|
|
return $this->privateProperty2; |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
public function setProtectedProperty0(string $protectedProperty0) : void |
70
|
|
|
{ |
71
|
|
|
$this->protectedProperty0 = $protectedProperty0; |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
public function getProtectedProperty0() : string |
75
|
|
|
{ |
76
|
|
|
return $this->protectedProperty0; |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
public function setProtectedProperty1(string $protectedProperty1) : void |
80
|
|
|
{ |
81
|
|
|
$this->protectedProperty1 = $protectedProperty1; |
82
|
|
|
} |
83
|
|
|
|
84
|
|
|
public function getProtectedProperty1() : string |
85
|
|
|
{ |
86
|
|
|
return $this->protectedProperty1; |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
public function setProtectedProperty2(string $protectedProperty2) : void |
90
|
|
|
{ |
91
|
|
|
$this->protectedProperty2 = $protectedProperty2; |
92
|
|
|
} |
93
|
|
|
|
94
|
|
|
public function getProtectedProperty2() : string |
95
|
|
|
{ |
96
|
|
|
return $this->protectedProperty2; |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
public function setPublicProperty0(string $publicProperty0) : void |
100
|
|
|
{ |
101
|
|
|
$this->publicProperty0 = $publicProperty0; |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
public function getPublicProperty0() : string |
105
|
|
|
{ |
106
|
|
|
return $this->publicProperty0; |
107
|
|
|
} |
108
|
|
|
|
109
|
|
|
public function setPublicProperty1(string $publicProperty1) : void |
110
|
|
|
{ |
111
|
|
|
$this->publicProperty1 = $publicProperty1; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
public function getPublicProperty1() : string |
115
|
|
|
{ |
116
|
|
|
return $this->publicProperty1; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
public function setPublicProperty2(string $publicProperty2) : void |
120
|
|
|
{ |
121
|
|
|
$this->publicProperty2 = $publicProperty2; |
122
|
|
|
} |
123
|
|
|
|
124
|
|
|
public function getPublicProperty2() : string |
125
|
|
|
{ |
126
|
|
|
return $this->publicProperty2; |
127
|
|
|
} |
128
|
|
|
} |
129
|
|
|
|