public function getAll() { try { $obj = new Tipo(); $lista = $obj->getAll(); return $lista; } catch (Exception $e) { throw $e; } }