title: Laravel IDE autocomplete on models
body: <p>I have a small question, when you retrieve objects from a database , is it possible to check which properties are on that object ? I've generated phpDocs with Laravel ide helper (<a href="https://github.com/barryvdh/laravel-ide-helper" rel="nofollow noreferrer">https://github.com/barryvdh/laravel-ide-helper</a>) but I don't see any properties..</p>
  
  <p>This is my code :</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  /**
   * App\Planning
   *
   * @mixin \Eloquent
   * @property int $id
   * @property string $name
   * @property \Carbon\Carbon $created_at
   * @property \Carbon\Carbon $updated_at
   * @method static \Illuminate\Database\Query\Builder|\App\Planning whereCreatedAt($value)
   * @method static \Illuminate\Database\Query\Builder|\App\Planning whereId($value)
   * @method static \Illuminate\Database\Query\Builder|\App\Planning whereName($value)
   * @method static \Illuminate\Database\Query\Builder|\App\Planning whereUpdatedAt($value)
   */
  class Planning extends Model
  {
  
  
      function test()
      {
          $planningItems = App\Planning::all();
  
          foreach ($planningItems as $item) {
               echo $item-&gt;?;
          }
      }
  
  
  }
  </code></pre>