public function setIntegrante($integrante) { $integ = new Integrante(); $integ->carrega($integrante); $this->integrante = $integ->getNome(); }