$user->current()

Returns the current user

  • return ($user)

Example

<?php echo $site->user()->current() ?>