title: How to call a function inside eloquent Model directly without query?
body: <p>I have function showItemList inside User class</p>
  
  <pre><code>class User extends Eloquent {
      //...
  
      protected $item = ['axe', 'sword', 'knife'];
  
      public function showItemList() {
          return $this-&gt;$item;
      }
  }
  </code></pre>
  
  <p>In my controller it's possible to use this.</p>
  
  <pre><code>$id = 1;
  $user = User::find($id);
  $user -&gt; showItemList();
  </code></pre>
  
  <p>But how can I just call this function directly(irrelevant to $id query)?</p>
  
  <p>I looks for something like below (sure now it's not working):</p>
  
  <pre><code>$list = User::showItemList();
  </code></pre>