In Laravel Framework one can use Model's Methods as Static and also Non-static, For example you can get a user from Databse like this:
User::where('id', 1)->first();
and also like this:
$user = new User();
$user->where('id', 1)->first();
how can you do this in PHP? because as far as i know a method can only be Static or Non-Static but not both.