/** * Sets the user that was authenticated by the system. * * @param User $user * @return void * @uses $authUser */ public static function setAuthenticatedUser(User $user = null) { self::$authUser = $user; }