I am using Laravel and having trouble creating a class with a string. The class is in the same name space of the class calling it.
The below code fails on the third line, I am unsure what I am doing wrong.
$class= "Variant";
$s = new Variant();
$nc = new $class();