SHARE
TWEET

Untitled

a guest Feb 17th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. class Faxineiro implements IFuncionario
  3. {
  4.     private $matricula;
  5.     private $salario;
  6.  
  7.     public function consultarMatricula($matricula)
  8.     {
  9.         $Funcionario = new Funcionario();
  10.         $Funcionario->buscarDadosFuncionario($matricula);
  11.         $this->salario = $Funcionario->salario;
  12.     }
  13.  
  14.     public function consultarSalario()
  15.     {
  16.         return $this->salario;
  17.     }
  18.  
  19.     public function consultaQualidadeEnsino()
  20.     {
  21.         // Não se aplica a faxineiros(as)
  22.     }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top