Add support for immutable carbon dates in models

This commit is contained in:
Dane Everitt
2020-04-03 23:22:35 -07:00
parent 6d1226a0c1
commit f51d65229b
20 changed files with 79 additions and 26 deletions

View File

@@ -52,9 +52,11 @@ use Znck\Eloquent\Traits\BelongsToThrough;
* @property \Pterodactyl\Models\DaemonKey $key
* @property \Pterodactyl\Models\DaemonKey[]|\Illuminate\Database\Eloquent\Collection $keys
*/
class Server extends Validable
class Server extends Model
{
use BelongsToThrough, Notifiable, Searchable;
use BelongsToThrough;
use Notifiable;
use Searchable;
/**
* The resource name for this model when it is transformed into an