15 lines
206 B
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',
|
|
];
|
|
}
|
|
} |