Commit Graph

15 Commits

Author SHA1 Message Date
Splashsky
227e5edc06 🧼 Clean up request handling by treating basePath similar to other routes 2021-07-16 07:20:58 -05:00
Splashsky
3dd5ddc83e 🧴 Make constraint definitions smoother via trim 2021-07-16 07:17:40 -05:00
Splashsky
d0bef18c59 🧼 Clean up routing behavior with new trim method 2021-07-16 07:14:33 -05:00
Splashsky
1393e0face 🚧 Build new prefix group type 2021-07-16 07:06:37 -05:00
Splashsky
9a04c906a7 Add @return tags to comments 2021-07-16 04:43:30 -05:00
Skylear
559196be54 ⏱️ Replace preg_replace in tokenize with str_replace 2021-07-15 17:26:28 -05:00
Skylear
0890106d41 Move $uri var in run() 2021-07-15 16:45:56 -05:00
Skylear
64119b258b 📑 write docblocks for the router methods 2021-07-15 16:44:30 -05:00
Skylear
8a523c3ed2 💡 Add function to redefine default parameter constraint 2021-07-15 16:17:53 -05:00
Skylear
3a1e5b65d7 👷 rebuild tokenize() to allow for RegEx constraints on routes via a chain method / #5 2021-07-15 16:14:20 -05:00
Skylear
ece7e35959 Update uri tokenizing to accept \w and \- 2021-07-15 15:42:16 -05:00
Skylear
aa32226435 Adapt uri parser to accept simpler, generic parameter placeholders 2021-07-15 14:26:00 -05:00
Skylear
087ddabfff Remove trailing slash matters, shorten run function 2021-07-15 12:21:22 -05:00
Skylear
a5cd607129 Refactor $callback to $action 2021-07-15 12:01:41 -05:00
Skylear
5a19471b8f Refactor and reorganize entire repo 2021-07-14 16:16:33 -05:00