src/Elements.php
public function fullElement($element, $id)
	{
		if ($element != 'way' && $element != 'relation')
		{
			throw new \DomainException('Element should be a way or a relation');
		}

		// Set the API base
		$base = $element . '/' . $id . '/full';

		// Build the request path.
		$path = $this->getOption('api.url') . $base;

		// Send the request.
		$xmlString = $this->sendRequest($path);

		return $xmlString->node;
	}
public function fullElement($element, $id)
	{
		if ($element != 'way' && $element != 'relation')
		{
			throw new \DomainException('Element should be a way or a relation');
		}

		// Set the API base
		$base = $element . '/' . $id . '/full';

		// Build the request path.
		$path = $this->getOption('api.url') . $base;

		// Send the request.
		$xmlString = $this->sendRequest($path);

		return $xmlString->node;
	}
Method to get full information about an element [way|relation]

@param   string   $element  [way|relation]
@param   integer  $id       Identifier

@return  array  The XML response

@since   1.0
@throws  \DomainException