Вход Регистрация
Файл: app/Models/Feed.php
Строк: 14
<?php

declare(strict_types=1);

namespace 
AppModels;

use 
CarbonCarbonImmutable;
use 
IlluminateDatabaseEloquentModel;

/**
 * Class Feed
 *
 * @property int             $id
 * @property string          $relate_type
 * @property int             $relate_id
 * @property CarbonImmutable $created_at
 */
class Feed extends Model
{
    public 
$timestamps false;

    protected 
$guarded = [];

    
/**
     * Get the attributes that should be cast.
     */
    
protected function casts(): array
    {
        return [
            
'created_at' => 'datetime',
        ];
    }
}
Онлайн: 1
Реклама