title: using Auth::id() Eloquent only when creating and updating
body: <p>i need help in using Auth::id() Eloquent only when creating and updating.
  what i am trying to achieve is, when i use Eloquent model save or update, the current logged in user id to be added to touched_by field.</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  use Illuminate\Database\Eloquent\SoftDeletes;
  use Illuminate\Support\Facades\Auth;
  
  class Account extends Model
  {
    use SoftDeletes;
    public function __construct(array $attributes = array())
    {
        $this-&gt;setRawAttributes(array_merge($this-&gt;attributes, array(
          'touched_by' =&gt; Auth::id()
        )), true);
        parent::__construct($attributes);
    }
  
    /**
     * The attributes that should be mutated to dates.
     *
     * @var array
     */
    protected $dates = ['deleted_at'];
  }
  </code></pre>
  
  <p>But this will give me the current loggedin user when i do Model::all() ?</p>