Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class User{
- private $username;
- private $email;
- private $password;
- public function __construct($username, $email, $password){
- $this->username = $username;
- $this->email = $email;
- $this->password = $password;
- }
- public function getUsername(){
- return $this->username;
- }
- public function getEmail(){
- return $this->email;
- }
- public function getPassword(){
- return $this->password;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement