What is the difference between User::class and App\User when setting relations?
<pre><code>return $this-&gt;belongsTo(User::class);
</code></pre>

<p>vs</p>

<pre><code>return $this-&gt;belongsTo(App\User);
</code></pre>

<p>What is the difference between the above two statements?</p>