This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Suppose you have a minimum of two routes, where a redirection to a route wants to include the original URL query string. | |
// | |
// The only way to add a URI query string to a route in Laravel is when you use the | |
// route( "named route" , "optional route parameters" ) construction. | |
// | |
// These "optional route parameters" are in the form of an array, potentially with associated keys. | |
// | |
// If the named route is a simple route, the associative array "optional route parameters" is used to build | |
// a URI query string. | |
// |