I tried using the Getter and Setter methods (from Laravel 3 to Laravel 4)
but display an error message.
Is there any work here?
they are very useful in the case of a password:
public function set_password($password)
{
$this->set_attribute('hashed_password', Hash::make($password));
}
http://three.laravel.com/docs/database/eloquent
mwafi source
share