/** * Hook on pre-update operations. * * @ORM\PreUpdate */ public function preUpdate() { $this->edoNomb = Utility::upperCase($this->edoNomb); }
/** * Hook on pre-update operations. * * @ORM\PreUpdate */ public function preUpdate() { $this->fechmodi = new \DateTime(); $this->cedu = Utility::upperCase($this->cedu); $this->naci = Utility::upperCase($this->naci); $this->nomb = Utility::upperCase($this->nomb); $this->apell = Utility::upperCase($this->apell); $this->profesionFix = Utility::upperCase($this->profesionFix); $this->correo = Utility::lowerCase($this->correo); }