/** * Get the ID for the currently authenticated user. * * @return int|null * @static */ public static function id() { return \Illuminate\Auth\SessionGuard::id(); }