title: Distinct values with pluck
body: <p>I'm trying to retrieve data from database and bind them to a html select tag, and to bind them i need to use pluck so i get the field i want to show in a array(key => value), because of FORM::select. The normal pluck gets all the results, while i want to use distinct. My model is Room and it looks like: </p>
  
  <pre><code>    class Room extends Eloquent
  {
      public $timestamps = false;
  
      protected $casts = [
          'price' =&gt; 'float',
          'floor' =&gt; 'int',
          'size' =&gt; 'float'
      ];
  
      protected $fillable = [
          'capacity',
          'description',
          'price',
          'floor',
          'size',
          'type',
          'photo_name'
      ];
  }
  </code></pre>
  
  <p>While my function I'm using in the controller look like:</p>
  
  <pre><code>public function getRooms()
      {
          $roomType = Room::pluck('type','type');
          $roomFloor = Room::pluck('floor','floor');
  
          return view('roomgrid')-&gt;with('type',$roomType)-&gt;with('floor',$roomFloor);
      }
  </code></pre>
  
  <p>And my view contains this piece of code to get floors:</p>
  
  <pre><code>{{FORM::select('floor', $floor, null,['class'=&gt;'basic'])}}
  </code></pre>
  
  <p>Like this i get duplicated floors, that i don't want. Is there any way so i can get distinct floors and pluck them? Thanks in advance.</p>