modèle de fonction statique laravel

public static function isOpen($week)
{
    return (new static)::where('week', $week)->first();
}
FabulouSebas