コード例 #1
0
 public function definirTipo(Tipo $tipo)
 {
     $this->tipo = $tipo;
     $this->valor += $tipo->getValor();
 }