-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
🚀 feature requestRequest a new featureRequest a new feature
Description
Using Leaf 4.0 / http 4.2
Is your feature request related to a problem? Please describe
Many of the response() methods return $this, and this allows to chain :
response()->withFlash('debug','xxx')->page('xxx');
This is not possible with next() which returns nothing.
Describe the solution you'd like
response()->next('xxx')->withFlash('debug','xxx')->page('xxx');
Describe alternatives you've considered
Obviouly, the calls may be split over several lines :
response()->next('xxx');
response()->withFlash('debug','xxx')->page('xxx');
References
Http\Response
Additional context
None
Metadata
Metadata
Assignees
Labels
🚀 feature requestRequest a new featureRequest a new feature