v3.0.9
What's Changed
Example:
# In your routes
$roues->get("/activate/{code}", [Controller::class, "method", ["injected_value" => "test"])->save();
#In your controller
class Controller {
public function method(Request $request, string $code, string $injected_value){
//$code => would get the value from the url
//$injected_value => would get the value from the 3rd argument in routes setup ("test")
}
}
Full Changelog: v3.0.8...v3.0.9