src/Http/Request.php
/**
	 * Gets the absolute URL for the request, including encoded query parameters.
	 * Example: "https://www.domain.com/path/to/file?redirect=%2Fhome"
	 *
	 * @param string|null $path
	 * @return string
	 */
Gets the absolute URL for the request, including encoded query parameters.

@param string|null $path
@return string
Gets the absolute URL for the request including encoded query parameters . @param string|null $path @return string
public function fullUrl($path = null) {
		$query = $this->getQueryString();
		$uri = $this->url($path);
		if ($path) {
			if (strpos($path, '?') >= 0) {
				$query = substr($path, strpos($path, '?') + 1);
			}
		}
		return $uri . ($query ? '?'.$query : '');
	}
public function fullUrl ( $ path = null ) { $ query = $ this -> getQueryString ( ) ; $ uri = $ this -> url ( $ path ) ; if ( $ path ) { if ( strpos ( $ path , '?' ) >= 0 ) { $ query = substr ( $ path , strpos ( $ path , '?' ) + 1 ) ; } } return $ uri . ( $ query ? '?' . $ query : '' ) ; }
Gets the absolute URL for the request, including encoded query parameters.
Gets the absolute URL for the request including encoded query parameters .