TwistPHP Documentation

current

File path: dist/twist/Core/Utilities/User.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

currentGet an object of the current user, if the user is not logged in null will be returned

Return Values

void — No return information has been documented for this function.

Example

<?php
//Call the function current with the example vars
Twist::User() -> current();