TYPO3 CMS  TYPO3_7-6
UserDomainClass.php
Go to the documentation of this file.
1 <?php
3 
4 /* *
5  * This script is backported from the TYPO3 Flow package "TYPO3.Fluid". *
6  * *
7  * It is free software; you can redistribute it and/or modify it under *
8  * the terms of the GNU Lesser General Public License, either version 3 *
9  * of the License, or (at your option) any later version. *
10  * *
11  * The TYPO3 project - inspiring people to share! *
12  * */
13 
18 {
19  protected $id;
20 
21  protected $firstName;
22 
23  protected $lastName;
24 
32  public function __construct($id, $firstName, $lastName)
33  {
34  $this->id = $id;
35  $this->firstName = $firstName;
36  $this->lastName = $lastName;
37  }
38 
44  public function getId()
45  {
46  return $this->id;
47  }
48 
54  public function getFirstName()
55  {
56  return $this->firstName;
57  }
58 
64  public function getLastName()
65  {
66  return $this->lastName;
67  }
68 }