For example, I got the following classes: \App\User, \App\Profile and \App\Icon.
Every class got a static function creating which accepts a closure as paramter.
Now I got an array of them:
$classes = [
\App\User::class,
\App\Profile::class,
\App\Icon:class
];
Now I want to loop trough the array and call the creating function with a closure on every class.
My problem is that I don't know much about the ::class keyword and how to use it proberly.