public function getCurrentUser()
	{
		$user = Spark::user();

		if (Spark::usingTeams()) {
			$user->currentTeam;
		}

		return $user->withHidden(['last_four', 'extra_billing_info']);
	}
public function getCurrentUser()
	{
		$user = Spark::user();

		if (Spark::usingTeams()) {
			$user->currentTeam;
		}

		return $user->withHidden(['last_four', 'extra_billing_info']);
	}
public function getCurrentUser ( ) { $ user = Spark :: user ( ) ; if ( Spark :: usingTeams ( ) ) { $ user -> currentTeam ; } return $ user -> withHidden ( [ 'last_four' , 'extra_billing_info' ] ) ; }
Get the current user of the application.

@return \Illuminate\Http\Response
Get the current user of the application .