src/AbstractUri.php
public function toString(array $parts = array('scheme', 'user', 'pass', 'host', 'port', 'path', 'query', 'fragment'))
	{
		$bitmask = 0;

		foreach ($parts as $part)
		{
			$const = 'static::' . strtoupper($part);

			if (\defined($const))
			{
				$bitmask |= \constant($const);
			}
		}

		return $this->render($bitmask);
	}
public function toString(array $parts = array('scheme', 'user', 'pass', 'host', 'port', 'path', 'query', 'fragment'))
	{
		$bitmask = 0;

		foreach ($parts as $part)
		{
			$const = 'static::' . strtoupper($part);

			if (\defined($const))
			{
				$bitmask |= \constant($const);
			}
		}

		return $this->render($bitmask);
	}
public function toString ( array $ parts = array ( 'scheme' , 'user' , 'pass' , 'host' , 'port' , 'path' , 'query' , 'fragment' ) ) { $ bitmask = 0 ; foreach ( $ parts as $ part ) { $ const = 'static::' . strtoupper ( $ part ) ; if ( \ defined ( $ const ) ) { $ bitmask |= \ constant ( $ const ) ; } } return $ this -> render ( $ bitmask ) ; }
Returns full uri string.

@param   array  $parts  An array of strings specifying the parts to render.

@return  string  The rendered URI string.

@since   1.0
Returns full uri string .