Saml2Setting
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.
at line 31
static void
set(string $key, $value)
Set a setting value by key.
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).
at line 56
static bool
isFirstDeploy()
Check if this is the first deploy (setup not complete).
at line 64
static void
markSetupComplete()
Mark setup as complete.
at line 72
static void
resetToFirstDeploy()
Reset to first deploy state.