modelo de función estática laravel
public static function isOpen($week)
{
return (new static)::where('week', $week)->first();
}
FabulouSebas
public static function isOpen($week)
{
return (new static)::where('week', $week)->first();
}