yii\authclient\StateStorageInterface::get PHP Method

get() public method

If the variable does not exist, the $defaultValue will be returned.
public get ( string $key ) : mixed
$key string the variable name
return mixed the variable value, or `null` if the variable does not exist.
    public function get($key);
StateStorageInterface