$user->username()

Returns the username

  • return (string)

Example

<?= $site->user('bastian')->username() ?>