Route::set('test', function() {
$class = $routes['routes']['test']['class']."::".$routes['routes']['test']['function']."();";
});
In the $class variable is a string which is a function.
test::CreateView();
I would to run the function but i dont know how. I read some things about eval() but that doesnt seem to work.