‪TYPO3CMS  9.5
Animal.php
Go to the documentation of this file.
1 <?php
2 declare(strict_types = 1);
3 
5 
6 /*
7  * This file is part of the TYPO3 CMS project.
8  *
9  * It is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License, either version 2
11  * of the License, or any later version.
12  *
13  * For the full copyright and license information, please read the
14  * LICENSE.txt file that was distributed with this source code.
15  *
16  * The TYPO3 project - inspiring people to share!
17  */
18 
19 class ‪Animal
20 {
24  private ‪$name;
25 
29  public function ‪getName(): string
30  {
31  return ‪$this->name;
32  }
33 
37  public function ‪setName(string ‪$name): void
38  {
39  $this->name = ‪$name;
40  }
41 }
‪TYPO3\CMS\Extbase\Tests\Functional\Property\Fixtures\Animal\getName
‪string getName()
Definition: Animal.php:28
‪TYPO3\CMS\Extbase\Tests\Functional\Property\Fixtures\Animal
Definition: Animal.php:20
‪TYPO3\CMS\Extbase\Tests\Functional\Property\Fixtures\Animal\$name
‪string $name
Definition: Animal.php:23
‪TYPO3\CMS\Extbase\Tests\Functional\Property\Fixtures\Animal\setName
‪setName(string $name)
Definition: Animal.php:36
‪TYPO3\CMS\Extbase\Tests\Functional\Property\Fixtures
Definition: Animal.php:4