title: What does Laravel 'find' method return
body: <p>A simple MySQL table namely <code>centers</code> is out there with <code>Center</code> as its model and <code>code</code> as  one of the columns.</p>
  
  <pre><code>$center_found=Center::find(6);
  echo " code from method 1 =  ".$center_found-&gt;code;
  echo " code from method 1 =  ".$center_found['code'];
  echo " type = ".gettype($center_found);
  </code></pre>
  
  <p>To my wonder both ways work to find out the <code>code</code> and the type shows to be <code>object</code>. </p>
  
  <p>So 
  1) what is the return type of <code>find</code> ? </p>
  
  <p>2) Does the return type ever vary except when no matching result exists ?</p>