public function carregarEstabelecimento($id) { $estabelecimentoDAO = new EstabelecimentoDAO(); $estabelecimento = $estabelecimentoDAO->buscarPorId($id); $estabelecimentoDAO->carregarConteudo($estabelecimento); return $estabelecimento; }