title: Laravel4: How can I use Eloquent/Model
body: <p>I've read and followed documentation found here <a href="http://laravel.com/docs/eloquent" rel="nofollow">http://laravel.com/docs/eloquent</a>
  and I tried some of the examples i found here 
  here is the code that I have so far
  model </p>
  
  <p><strong>dbeloquent.php</strong></p>
  
  <pre><code>&lt;?php
  class dbeloquent extends Eloquent {
  
     protected  $table = "users";
  
  
      public  function showTbl()
          {
               dd(dbeloquent::$table);
          }
  }
  
  //end of model
  ?&gt;
  
      route.php
  
  &lt;?php
  Route::get('/', function () {
      $model = new dbeloquent();   
      dd($model-&gt;someFunction());
  });
  ?&gt;
  </code></pre>
  
  <p>I want to show my tables first but here is what I'm having</p>
  
  <blockquote>
    <p>Access to undeclared static property: dbeloquent::$table</p>
  </blockquote>
  
  <p>somebody help me please</p>