f38c6610fb
Allow multiple middlewares.
2022-05-18 12:29:07 -04:00
01927ec946
Normalize header comments to phpdoc compatibility.
2022-04-12 15:56:50 -04:00
f43028d72d
Migrate to strong typed (compatible only with PHP 7.0+).
2022-03-17 17:22:04 -04:00
503efef448
Update comments to phpdoc compatible format.
2022-02-23 20:53:36 -04:00
81f2d4d665
Disable th usade of "-" on {pseudovariables}
2022-01-27 11:17:35 -04:00
4b1585fe6d
Change URI to Path.
2022-01-25 09:46:04 -04:00
83c9d28526
Change URI to Path.
2022-01-25 09:42:16 -04:00
a303f28f88
- Change $notFoundCallBack to $notFoundCallback
...
- Minor fixed on comments.
2022-01-24 11:06:39 -04:00
94f1857653
Change not found callback.
2021-11-27 19:21:13 -04:00
6fbf9a2a72
Change indentation.
2021-10-21 23:34:49 -04:00
184d03a214
Fix error on undefined param.
2021-10-15 17:41:47 -04:00
e1fe93a04c
- Change middleware for accept any callable function as param.
...
- $notFoundCallback now has a function as default value (the normal 404 page as before).
- Change the way to manipulate the {pseudoVars} on uri, now it go into the same Neuron onject that "post", "get", and "json" and not more as separate params into the callback (the callback now only receive one param by default).
- $notFoundCallback now receive the $req, as param.
2021-10-15 17:23:20 -04:00
e424139072
Remove unused use.
2021-06-21 16:08:29 -04:00
kj
d23ecfbde6
Add a 404 custom controller option on Router.
2021-03-25 12:02:50 -04:00
831dd7ad47
Fix error on middleware set for DELETE method.
2020-08-11 18:52:35 -04:00
02c0dbef50
- Params renamed to Neuron
...
- add path atribute to Router req
- add viewPath param to View
2020-06-11 06:25:41 -04:00
9d31dc1c24
Add '?>' to Router.php at end.
2020-04-21 18:57:01 -04:00
28880347a4
add comments to Libs.
2020-03-17 13:46:16 -04:00
b07333f3c8
Improve params.
2020-03-16 22:54:12 -04:00
9539b43212
First commit.
2020-03-07 23:37:19 -04:00