title: How to create a Eloquent model instance from a raw Object?
body: <p>I need to make a raw database query using Laravel:</p>
  
  <pre><code>$results = DB::select("SELECT * FROM members 
      INNER JOIN (several other tables) 
      WHERE (horribly complicated thing) 
      LIMIT 1");
  </code></pre>
  
  <p>I get back a plain PHP StdClass Object with fields for the properties on the members table. I'd like to convert that to a Member (an Eloquent model instance), which looks like this:</p>
  
  <pre><code>use Illuminate\Database\Eloquent\Model;
  
  class Member extends Model {
  }
  </code></pre>
  
  <p>I'm not sure how to do it since a Member doesn't have any fields set on it, and I'm worried I will not initialize it properly. What is the best way to achieve that?</p>