src/Routing/RouteParameterBinder.php
/**
	 * Extract the parameter list from the path part of the request.
	 *
	 * @param Request $request
	 * @return array
	 */
Extract the parameter list from the path part of the request.
@param Request $request
@return array
Extract the parameter list from the path part of the request . @param Request $request @return array
public function bindPathParameters(Request $request) {
		$path = $request->path();
		preg_match($this->route->compile()->getRegex(), $path, $matches);
		return $this->matchToKeys(array_slice($matches, 1));
	}
public function bindPathParameters ( Request $ request ) { $ path = $ request -> path ( ) ; preg_match ( $ this -> route -> compile ( ) -> getRegex ( ) , $ path , $ matches ) ; return $ this -> matchToKeys ( array_slice ( $ matches , 1 ) ) ; }
Extract the parameter list from the path part of the request.
Extract the parameter list from the path part of the request .