On 12 Jan 2010, at 00:24, Darren884 wrote: > I am trying to override my setPassword method for my employee model > but everytime I try to overwrite it I get nothing from it. I was > using: > > public function setPassword($password) > { > parent::setPassword(sh1($password)); > }
try... return parent::setPassword(sh1($password));
-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.