title: Where is Laravel model's static where function?! How does Laravel do that?
body: <p>I have an Eloquent model and I'd like to create some shortcut functions for specific models, like maybe <code>User::tall()</code> instead of writing <code>User::where("height", "&gt;", 185)</code>. But I want them to be static as well as non-static methods, so that I can also call <code>$user-&gt;where('is_active', '=', '1')-&gt;tall()</code>.</p>
  
  <p>Is there a way I can do that?
  I can see that Laravel somehow manages to do that, cause where can be called from both contexts. I've looked through the code but I can only find an object method.</p>