%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/loslex/demo/app/Models/Cup/
Upload File :
Create Path :
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);
    }
}

Zerion Mini Shell 1.0