src/Http/Request.php
/**
	 * Binds a route to and from the request, and copies query parameters from the route.
	 *
	 * @param Route $route
	 */
Binds a route to and from the request, and copies query parameters from the route.
@param Route $route
Binds a route to and from the request and copies query parameters from the route . @param Route $route
public function bind(Route $route) {
		$this->horizonRoute = $route;
		$this->horizonRoute->bind($this);
		foreach ($route->parameters() as $key => $value) {
			$this->query->set($key, $value);
			$_GET[$key] = $value;
		}
	}
public function bind ( Route $ route ) { $ this -> horizonRoute = $ route ; $ this -> horizonRoute -> bind ( $ this ) ; foreach ( $ route -> parameters ( ) as $ key => $ value ) { $ this -> query -> set ( $ key , $ value ) ; $ _GET [ $ key ] = $ value ; } }
Binds a route to and from the request, and copies query parameters from the route.
Binds a route to and from the request and copies query parameters from the route .
// Copy queries from the route