Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/app/Models/Role.php
Назад
<?php namespace App\Models; use \DateTimeInterface; use ESolution\DBEncryption\Traits\EncryptedAttribute; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\Traits\Observable; use Illuminate\Database\Eloquent\SoftDeletes; class Role extends Model { // use SoftDeletes; use HasFactory,EncryptedAttribute,Observable,SoftDeletes; public $table = 'roles'; protected $dates = [ 'created_at', 'updated_at', 'deleted_at', ]; protected $fillable = [ 'title', 'created_at', 'updated_at', 'deleted_at', ]; protected $encryptable = [ 'title' ]; public function permissions() { return $this->belongsToMany(Permission::class); } protected function serializeDate(DateTimeInterface $date) { return $date->format('Y-m-d H:i:s'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка