clrghouz/app/Models/Pivots/ViaPivot.php

15 lines
206 B
PHP

<?php
namespace App\Models\Pivots;
use Illuminate\Database\Eloquent\Relations\Pivot;
class ViaPivot extends Pivot
{
protected function casts(): array
{
return [
'datetime' => 'datetime',
];
}
}