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