I was looking at some code from Laravel, and I saw this:
$app->singleton(
Illuminate\Contracts\Http\Kernel::class,
App\Http\Kernel::class
);
I found it very curious, because it seems to be calling a object method, but what is being passed doesn't look like a variable.
What is this ::class
thing?