Example #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 setFecha($fecha)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFecha', array($fecha));
     return parent::setFecha($fecha);
 }