‪TYPO3CMS  10.4
UserDomainClass.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 {
23  protected ‪$id;
24 
25  protected ‪$firstName;
26 
27  protected ‪$lastName;
28 
37  {
38  $this->id = ‪$id;
39  $this->firstName = ‪$firstName;
40  $this->lastName = ‪$lastName;
41  }
42 
48  public function ‪getId()
49  {
50  return ‪$this->id;
51  }
52 
58  public function ‪getFirstName()
59  {
60  return ‪$this->firstName;
61  }
62 
68  public function ‪getLastName()
69  {
70  return ‪$this->lastName;
71  }
72 }
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass\getFirstName
‪string getFirstName()
Definition: UserDomainClass.php:58
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass\getLastName
‪string getLastName()
Definition: UserDomainClass.php:68
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures
Definition: ClassWithTwoGetters.php:16
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass\$lastName
‪$lastName
Definition: UserDomainClass.php:27
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass\$firstName
‪$firstName
Definition: UserDomainClass.php:25
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass\__construct
‪__construct($id, $firstName, $lastName)
Definition: UserDomainClass.php:36
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass
Definition: UserDomainClass.php:22
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass\getId
‪int getId()
Definition: UserDomainClass.php:48
‪TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures\UserDomainClass\$id
‪$id
Definition: UserDomainClass.php:23