????

Your IP : 18.217.136.187


Current Path : /home/thenclexdoctor.com/public_html/app/Models/
Upload File :
Current File : /home/thenclexdoctor.com/public_html/app/Models/TicketUser.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class TicketUser extends Model
{
    public $timestamps = false;

    protected $guarded = ['id'];

    public static function useTicket($orderItem)
    {
        if ($orderItem->ticket_id) {
            TicketUser::create([
                'ticket_id' => $orderItem->ticket_id,
                'user_id' => $orderItem->user_id,
                'created_at' => time()
            ]);
        }
    }
}

Page not found | The NCLEX Doctor

Page not found!

Sorry, this page is not available...