Laravel: Check with Observer if Column was Changed on Update : <p>I am using an <a href="https://laravel.com/docs/5.5/eloquent#observers" rel="noreferrer">Observer</a> to watch if a user was updated.</p>

<p>Whenever a user is <code>updated</code> I would like to check if his <code>email</code> has been changed. </p>

<p>Is something like this possible?</p>

<pre><code>class UserObserver
{


    /**
     * Listen to the User created event.
     *
     * @param  \App\User  $user
     * @return void
     */
    public function updating(User $user)
    {
      // if($user-&gt;hasChangedEmailInThisUpdate()) ?
    }

}
</code></pre>
