We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to pass the namespace path to a controller and action like this Macaw::get('/home', 'HomeController@home');
The text was updated successfully, but these errors were encountered:
like this? $klein->respond('GET', '/index', array('Hozzaq\Controller\IndexController', 'index'));
Sorry, something went wrong.
You can use it like this (for non static methods): $klein->get('/tests', [new \App\Controllers\TestController(), 'index']);
No branches or pull requests
how to pass the namespace path to a controller and action
like this
Macaw::get('/home', 'HomeController@home');
The text was updated successfully, but these errors were encountered: