I have Some Routes On \srcoutes.php
$app->get('/coba', 'App\controllers\HomeController:getfromcontroller');
And in myapp/app/controllers/HomeController.php like this
public function getfromcontroller((Request $request, Response $response){
$response->withStatus(200)->write('Hello Motehr!');
}
and if i'am access http://localhost/myapp/public/coba thats errror
Type: RuntimeException Message: Callable App\controllers\HomeController does not exist File: C:\laragon\www\depoapi\vendor\slim\slim\Slim\CallableResolver.php Line: 90