public function adicionarTipo($array) { $tipo = new ControllerTipo(); $res = $tipo->adicionarTipo($array); return $res; }