File manager - Edit - /home/asiatechinc/public_html/asiatech-websites/dynastyresort.com/app/Models/CheckIn.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\Mail\GenericFormSubmissionMail; use Illuminate\Support\Facades\Mail; class CheckIn extends Model { use HasFactory; protected $table = "check_ins"; protected $fillable = [ "checkIn" ,"checkOut" ,'name',"phone_no" ,'ip_address' ]; // protected static function booted() // { // static::created(function ($model) { // Mail::to('info@dynastyresort.com')->send( // new GenericFormSubmissionMail($model->toArray(), 'New CheckIn Submission') // ); // }); // } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings