$user->username()

Returns the username

  • return (string)

Example

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