public function getTagValue($tag)
	{
		if(!$this->hasTag($tag))
		{
			throw new \OutOfBoundsException('Tag ' . $tag . ' is not set');
		}
		
		if(empty($this->tags[$tag]))
		{
			throw new \OutOfBoundsException('Tag ' . $tag . ' does not have a value');
		}
		
		return $this->tags[$tag][0];
	}
public function getTagValue($tag)
	{
		if(!$this->hasTag($tag))
		{
			throw new \OutOfBoundsException('Tag ' . $tag . ' is not set');
		}
		
		if(empty($this->tags[$tag]))
		{
			throw new \OutOfBoundsException('Tag ' . $tag . ' does not have a value');
		}
		
		return $this->tags[$tag][0];
	}
public function getTagValue ( $ tag ) { if ( ! $ this -> hasTag ( $ tag ) ) { throw new \ OutOfBoundsException ( 'Tag ' . $ tag . ' is not set' ) ; } if ( empty ( $ this -> tags [ $ tag ] ) ) { throw new \ OutOfBoundsException ( 'Tag ' . $ tag . ' does not have a value' ) ; } return $ this -> tags [ $ tag ] [ 0 ] ; }
Get the value of a tag.

@param string $tag
@return string

@throws \OutOfBoundsException
Get the value of a tag .