]> git.mxchange.org Git - friendica.git/commit
Add router config
authorPhilipp Holzer <admin+github@philipp.info>
Thu, 26 Sep 2019 19:18:01 +0000 (21:18 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 29 Sep 2019 09:57:27 +0000 (11:57 +0200)
commit0e5cb888881ee4187930de2dfab96ece55f1c0ea
tree76f15c566b2157350ba0f1810af5db1241c00905
parentb51dedd7e7b6b4bc68c43ef9ef735f47741b5049
Add router config
- Introduce route.config.php structure
- Adding config loader for routes
- Adapt Module class (separation of duties)
- Add tests
src/App/Module.php
src/App/Router.php
src/BaseModule.php
static/dependencies.config.php
static/routes.config.php [new file with mode: 0644]
tests/src/App/ModuleTest.php
tests/src/App/RouterTest.php