title: Laravel ORM should return Relation
body: <p>Is it possible to return an value for an hasOne relation directly with an Model?</p>
  
  <p>For example:</p>
  
  <pre><code>$List = Element::orderBy('title')-&gt;get();
  </code></pre>
  
  <p>The Element has a "hasOne" Relation to an column:</p>
  
  <pre><code>public function type()
  {
      return $this-&gt;hasOne('App\Type', 'id', 'type_id');
  }
  </code></pre>
  
  <p>How can i now return automatically the "type" for the Model? </p>
  
  <p>At the Moment i am looping through all Elements, and build my own "Array" of Objects, including the Key of "type" in this example. But ill prefer to do this only in my Model.</p>
  
  <p>Ill know how to add a "normal" property, but can it be someone from an relation?</p>
  
  <pre><code>public function getTypeAttribute($value)
  {
      return // how ?
  }
  
  protected $appends = array('type');
  </code></pre>
  
  <p>Is this possible? </p>
  
  <p>Edit:</p>
  
  <p>A workaround could be to use DB:: to return the correct value - but ill dont thing thats a good workaround: like:</p>
  
  <pre><code>public function getTypeAttribute($value)
  {
      // make a query with $this-&gt;type_id and return the value of the type_name 
  }
  
  protected $appends = array('type');
  </code></pre>