fungsi di dalam model laravel

class Order extends Model {
    public static function myMethod() {
        return static::query()->where(...)->get(); // example
    }
}

(new Order())->myMethod();
Order::myMethod();
Lokesh003