Created
November 28, 2015 14:20
-
-
Save aziflaj/b0791f687a5799bdee8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // The User model | |
| class User | |
| { | |
| private $firstName; | |
| private $lastName; | |
| public function getFirstName() | |
| { | |
| return $this->firstName; | |
| } | |
| public function getLastName() | |
| { | |
| return $this->lastName; | |
| } | |
| public function setFirstName($firstName) | |
| { | |
| $this->firstName = $firstName; | |
| } | |
| public function setLastName($lastName) | |
| { | |
| $this->lastName = $lastName; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment