‪TYPO3CMS  9.5
ClassWithSetters.php
Go to the documentation of this file.
1 <?php
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 
21 {
25  public ‪$property1;
26 
30  protected ‪$property2;
31 
35  public ‪$property3;
36 
40  public ‪$property4;
41 
42  public function ‪setProperty3($value)
43  {
44  $this->property3 = $value;
45  }
46 
47  protected function ‪setProperty4($value)
48  {
49  $this->property4 = $value;
50  }
51 
52  public function ‪getProperty2()
53  {
54  return ‪$this->property2;
55  }
56 }
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property4
‪mixed $property4
Definition: ClassWithSetters.php:36
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property3
‪mixed $property3
Definition: ClassWithSetters.php:32
‪TYPO3\CMS\Extbase\Tests\Fixture
Definition: ClassWithGettersAndSetters.php:2
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters
Definition: ClassWithSetters.php:21
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\getProperty2
‪getProperty2()
Definition: ClassWithSetters.php:48
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\setProperty4
‪setProperty4($value)
Definition: ClassWithSetters.php:43
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property2
‪mixed $property2
Definition: ClassWithSetters.php:28
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\setProperty3
‪setProperty3($value)
Definition: ClassWithSetters.php:38
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property1
‪mixed $property1
Definition: ClassWithSetters.php:24