13 lines
408 B
PHP
13 lines
408 B
PHP
<?php
|
|
namespace App\Models;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
/** Private integration storage: deliberately absent from all resource registries. */
|
|
class ActivityCredential extends Model
|
|
{
|
|
public $incrementing = false;
|
|
protected $keyType = 'string';
|
|
protected $guarded = ['*'];
|
|
protected $hidden = ['token'];
|
|
protected function casts(): array { return ['token' => 'encrypted']; }
|
|
}
|