$user->current()

Returns the current user

  • return ($user)

Example

<?= $site->user()->current() ?>