Ver originalpublic function suma($valor1, $valor2) { $this->x = $valor1; $this->y = $valor2; $sumar = $this->x + $this->y; return $sumar; }