Maurício Meneghini Fauth
a8b338cb40
Add the Route attribute to controllers classes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2025-07-11 19:47:12 -03:00
Maurício Meneghini Fauth
1a25a06d0d
Replace Config::getInstance with DI in controllers
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2025-05-01 21:51:43 -03:00
Maurício Meneghini Fauth
95f4f374e0
Fix infinite loop error when creating config storage
...
- Introduced by 4e8c62f885
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2024-08-23 19:19:17 -03:00
Maurício Meneghini Fauth
d2060c56d5
Change InvocableController to always return a Response
...
When 'null' is returned, ResponseRenderer::response() is called, so
call it early to always return a Response object.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-05-22 15:22:56 -03:00
Maurício Meneghini Fauth
137283f909
Remove unused constructor params from controllers
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-04-08 15:59:34 -03:00
Maurício Meneghini Fauth
c965d07f68
Remove Controllers\AbstractController abstract class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-04-08 15:59:33 -03:00
Maurício Meneghini Fauth
036e8ce95f
Move AbstractController::render method to ResponseRenderer
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-04-08 15:59:32 -03:00
Maurício Meneghini Fauth
181f971bc9
Create InvocableController interface
...
This creates the contract for the controllers.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-04-03 17:03:00 -03:00
Maurício Meneghini Fauth
711f6c0f14
Replace db global variable with static class property
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2023-12-17 14:58:59 -03:00
Maurício Meneghini Fauth
c2955cc2b2
Rename the directory libraries/classes/ to src/
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2023-08-30 15:59:28 -03:00