Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require 'Pessoa.php';
- class Aluno extends Pessoa{
- private $matr;
- private $curso;
- public function cancelarMatr(){
- $this->setMatr = false;
- }
- public function getMatr(){
- return $this->matr;
- }
- public function setMatr($matr){
- $this->matr = $matr;
- }
- public function getCurso(){
- return $this->curso;
- }
- public function setCurso($curso){
- $this->curso = $curso;
- }
- public function __construct($matr){
- $this->setMatr = true;
- }
- }
Add Comment
Please, Sign In to add comment