[FEATURE] Support multiple UID in PageRepository::getMenu()
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Reflection / Fixture / DummyClassWithGettersAndSetters.php
1 <?php
2 namespace TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture;
3
4 /*
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 /**
18 * Fixture class with getters and setters
19 *
20 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
21 */
22 class DummyClassWithGettersAndSetters {
23
24 protected $property;
25
26 protected $anotherProperty;
27
28 protected $property2;
29
30 protected $booleanProperty = TRUE;
31
32 protected $protectedProperty;
33
34 protected $unexposedProperty = 'unexposed';
35
36 public $publicProperty;
37
38 public $publicProperty2 = 42;
39
40 /**
41 * @param mixed $property
42 */
43 public function setProperty($property) {
44 $this->property = $property;
45 }
46
47 /**
48 * @return mixed
49 */
50 public function getProperty() {
51 return $this->property;
52 }
53
54 /**
55 * @param mixed $anotherProperty
56 */
57 public function setAnotherProperty($anotherProperty) {
58 $this->anotherProperty = $anotherProperty;
59 }
60
61 /**
62 * @return mixed
63 */
64 public function getAnotherProperty() {
65 return $this->anotherProperty;
66 }
67
68 /**
69 * @return mixed
70 */
71 public function getProperty2() {
72 return $this->property2;
73 }
74
75 /**
76 * @param mixed $property2
77 */
78 public function setProperty2($property2) {
79 $this->property2 = $property2;
80 }
81
82 /**
83 * @return string
84 */
85 protected function getProtectedProperty() {
86 return '42';
87 }
88
89 /**
90 * @param mixed $value
91 */
92 protected function setProtectedProperty($value) {
93 $this->protectedProperty = $value;
94 }
95
96 /**
97 * @return bool
98 */
99 public function isBooleanProperty() {
100 return $this->booleanProperty;
101 }
102
103 /**
104 * @return string
105 */
106 protected function getPrivateProperty() {
107 return '21';
108 }
109
110 /**
111 * @param mixed $value
112 */
113 public function setWriteOnlyMagicProperty($value) {
114 }
115
116 }