Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/app/Models/APILog.php
7432 views
1
<?php
2
3
namespace Pterodactyl\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class APILog extends Model
8
{
9
/**
10
* The table associated with the model.
11
*/
12
protected $table = 'api_logs';
13
14
/**
15
* The attributes excluded from the model's JSON form.
16
*/
17
protected $hidden = [];
18
19
/**
20
* Fields that are not mass assignable.
21
*/
22
protected $guarded = ['id', 'created_at', 'updated_at'];
23
24
/**
25
* Cast values to correct type.
26
*/
27
protected $casts = [
28
'authorized' => 'boolean',
29
];
30
}
31
32