File manager - Edit - /home/autoph/public_html/projects/aha-api/app/Models/DefaultServiceTimeslotDtl.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use OwenIt\Auditing\Contracts\Auditable; use OwenIt\Auditing\Auditable as AuditableTrait; use Carbon\Carbon; class DefaultServiceTimeslotDtl extends Model implements Auditable { use HasFactory, AuditableTrait; /** * The attributes that are NOT mass assignable. * */ protected $guarded = []; /** * The attributes that should be cast. * * @var array<string, string> */ protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; /** * Format exclude_days to remove spaces upon fetching */ public function getExcludeDaysAttribute($value) { return str_replace(' ', '', $value); } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings