public function offsetGet($offset)
	{
		if(empty($this->tokens[$offset]))
		{
			throw new \OutOfBoundsException('No token found at offset ' . $offset);
		}

		return $this->tokens[$offset];
	}
public function offsetGet($offset)
	{
		if(empty($this->tokens[$offset]))
		{
			throw new \OutOfBoundsException('No token found at offset ' . $offset);
		}

		return $this->tokens[$offset];
	}
public function offsetGet ( $ offset ) { if ( empty ( $ this -> tokens [ $ offset ] ) ) { throw new \ OutOfBoundsException ( 'No token found at offset ' . $ offset ) ; } return $ this -> tokens [ $ offset ] ; }
Get the token at the given position.

@param integer $offset
@return AbstractToken

@throws \OutOfBoundsException
Get the token at the given position .