get('UID'); return (int) (empty($uid) ? 0 : $uid); } /** * Logout the given user. * * @param SessionInterface $session Session * * @return void * * @since 1.0.0 */ public static function logout(SessionInterface $session) : void { $session->remove('UID'); } }