Documentation

CanRetrieveBooterSettings

Table of Contents

getBooterSettings()  : mixed
Gets a booter setting

Methods

getBooterSettings()

Gets a booter setting

public getBooterSettings([string|null $key = null ][, bool $useDefault = true ][, mixed $default = null ]) : mixed
Parameters
$key : string|null = null

Key of the setting, null or empty returns all settings

$useDefault : bool = true

Return $default instead of throwing when the key does not exist

$default : mixed = null

Value returned for a missing key when $useDefault is true

Tags
throws
InvalidArgumentException

If the key does not exist and $useDefault is false

Return values
mixed —

Value of the key

Search results