‪TYPO3CMS  10.4
ClassWithSetters.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
22 {
26  public ‪$property1;
27 
31  protected ‪$property2;
32 
36  public ‪$property3;
37 
41  public ‪$property4;
42 
43  public function ‪setProperty3($value)
44  {
45  $this->property3 = $value;
46  }
47 
48  protected function ‪setProperty4($value)
49  {
50  $this->property4 = $value;
51  }
52 
53  public function ‪getProperty2()
54  {
55  return ‪$this->property2;
56  }
57 }
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property4
‪mixed $property4
Definition: ClassWithSetters.php:37
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property3
‪mixed $property3
Definition: ClassWithSetters.php:33
‪TYPO3\CMS\Extbase\Tests\Fixture
Definition: ClassWithGettersAndSetters.php:16
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters
Definition: ClassWithSetters.php:22
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\getProperty2
‪getProperty2()
Definition: ClassWithSetters.php:49
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\setProperty4
‪setProperty4($value)
Definition: ClassWithSetters.php:44
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property2
‪mixed $property2
Definition: ClassWithSetters.php:29
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\setProperty3
‪setProperty3($value)
Definition: ClassWithSetters.php:39
‪TYPO3\CMS\Extbase\Tests\Fixture\ClassWithSetters\$property1
‪mixed $property1
Definition: ClassWithSetters.php:25