Advertisement
Guest User

Untitled

a guest
Jan 27th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <?php
  2.  
  3. class User{
  4. private $username;
  5. private $email;
  6. private $password;
  7. public function __construct($username, $email, $password){
  8. $this->username = $username;
  9. $this->email = $email;
  10. $this->password = $password;
  11. }
  12. public function getUsername(){
  13. return $this->username;
  14. }
  15. public function getEmail(){
  16. return $this->email;
  17. }
  18. public function getPassword(){
  19. return $this->password;
  20. }
  21. }
  22.  
  23. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement