title: Laravel 4: Getter and Setter Methods
body: <p>I tried to get Getter &amp; Setter Methods work (from Laravel 3 in Laravel 4)</p>
  
  <p>but display Error.</p>
  
  <p>is there any work around here?</p>
  
  <p>they are very useful in password case:</p>
  
  <pre><code>public function set_password($password)
  {
      $this-&gt;set_attribute('hashed_password', Hash::make($password));
  }
  </code></pre>
  
  <p><a href="http://three.laravel.com/docs/database/eloquent" rel="noreferrer">http://three.laravel.com/docs/database/eloquent</a></p>