Laravel user info not
<p>In my api I say this:</p>

<pre><code>public function internInfo($id)
{
   $user = User::where('EmployeeId','=',$id);
   dd($user-&gt;LastName);
}
</code></pre>

<p>The user is found but it can't get the LastName, but LastName exist!</p>

<p>What am I doing wrong?</p>