$user->secret()
Reads a specific secret from the user secrets file on disk
$user->secret(string $key): mixed
Parameters
Name | Type | Default |
---|---|---|
$keyrequired | string |
no default value |
Return type
mixed
This method modifies the existing $user
object it is applied to and returns it again.