Commit Graph

6 Commits

Author SHA1 Message Date
Hypolite Petovan 134d6d18f9 Pass Router parameter to module content method 2019-11-06 22:35:28 -05:00
Hypolite Petovan 6fd301a891 Remove irrelevant test in App\RouterTest
- HTTP Methods other than POST are coerced into GET in App\Router constructor
2019-10-13 10:16:38 -04:00
Hypolite Petovan 8748bfd8ad Fix Router tests related to unallowed methods 2019-10-13 07:54:50 -04:00
Hypolite Petovan 4ee9e21a4f Make Router::getModuleClass throw exceptions
- Add new MethodNotAllowedModule
- Add new Module->determineClass catch blocks
- Update Module and Router tests
2019-10-11 19:59:05 -04:00
Philipp Holzer 0e5cb88888
Add router config
- Introduce route.config.php structure
- Adding config loader for routes
- Adapt Module class (separation of duties)
- Add tests
2019-09-29 11:57:27 +02:00
Hypolite Petovan 7383511855 Added test case for Router->getModuleClass 2019-04-04 07:30:48 -04:00