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