class Saml2Setting extends Model

Properties

protected $table

The table associated with the model.

protected $fillable

The attributes that are mass assignable.

Methods

static mixed
get(string $key, $default = null)

Get a setting value by key.

static void
set(string $key, $value)

Set a setting value by key.

static bool
isSetupComplete()

Check if the setup has been completed (not first deploy).

static bool
isFirstDeploy()

Check if this is the first deploy (setup not complete).

static void
markSetupComplete()

Mark setup as complete.

static void
resetToFirstDeploy()

Reset to first deploy state.

Details

at line 22
static mixed get(string $key, $default = null)

Get a setting value by key.

Parameters

string $key
$default

Return Value

mixed

at line 31
static void set(string $key, $value)

Set a setting value by key.

Parameters

string $key
$value

Return Value

void

at line 43
static bool isSetupComplete()

Check if the setup has been completed (not first deploy).

Returns true if the table doesn't exist (for env-only setups without migrations).

Return Value

bool

at line 56
static bool isFirstDeploy()

Check if this is the first deploy (setup not complete).

Return Value

bool

at line 64
static void markSetupComplete()

Mark setup as complete.

Return Value

void

at line 72
static void resetToFirstDeploy()

Reset to first deploy state.

Return Value

void