Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Pessoa{
- private $nome;
- private $sexo;
- private $idade;
- public function getNome() {
- return $this->nome;
- }
- public function setNome($nome) {
- $this->nome = $nome;
- }
- public function getSexo() {
- return $this->sexo;
- }
- public function setSexo($sexo) {
- $this->sexo = $sexo;
- }
- public function getIdade() {
- return $this->idade;
- }
- public function setIdade($idade) {
- $this->idade = $idade;
- }
- }
Add Comment
Please, Sign In to add comment