/** Checks if the given key is present. */ $present = app_has('auth.expires_sec'); /** Gets the application value specified by the Dot-notation key. */ $value = app('auth.expires_sec', $default);