<?php
namespace App\Enums;
enum CheckFrequency:string {case Daily='daily';case Weekly='weekly';public function label():string{return match($this){self::Daily=>__('states.daily'),self::Weekly=>__('states.weekly')};}}
