Beispiel #1
0
 public function salvarUf($parametros)
 {
     $objeto = new Uf();
     $objeto->setValorUf($parametros['valorUf']);
     $objeto->setFecha($parametros['fecha']);
     $this->em->persist($objeto);
     $this->em->flush();
     return "success";
 }
 /**
  * {@inheritDoc}
  */
 public function setValorUf($valorUf)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValorUf', array($valorUf));
     return parent::setValorUf($valorUf);
 }