%PDF- %PDF-
Direktori : /www/loslex/demo/app/Models/Cup/ |
Current File : //www/loslex/demo/app/Models/Cup/CupInfo.php |
<?php namespace App\Models\Cup; use Illuminate\Support\Carbon; class CupInfo { public string $Name; public Carbon $decisionDate; public function __construct(string $name, Carbon $decisionDate) { $this->Name = $name; $this->decisionDate = $decisionDate; } public function isBeforeDecisionDate() : bool { return Carbon::today()->lte($this->decisionDate); } }