Created
September 29, 2017 09:34
-
-
Save platoosom/e504b8422c8fcd3d5a404d80f01bf2f8 to your computer and use it in GitHub Desktop.
This file contains 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 | |
class People { | |
public $idcard; | |
public $name; | |
public function __construct() { | |
$this->idcard = ''; | |
$this->name = ''; | |
} | |
public function setName($name) { | |
$this->name = $name; | |
} | |
public function getName() { | |
return $this->name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment