public static function getSpellIcon( string $spell_name, array $attributes = [] ): Html
	{
		self::checkInit();

		$attrs = array_merge([ 'alt'   => $spell_name ], self::getSetting(self::SET_CUSTOM_IMG_ATTRS, []), $attributes);
		$attrs['class'] = implode(' ', [
			self::getSetting(self::SET_DEFAULT_CLASS),
			self::getSetting(self::SET_SPELL_ICON_CLASS),
			@self::getSetting(self::SET_CUSTOM_IMG_ATTRS, [])['class'],
			@$attributes['class'],
		]);
		$attrs['src'] = self::getSpellIconUrl($spell_name);

		return Html::el('img', $attrs);
	}
public static function getSpellIcon( string $spell_name, array $attributes = [] ): Html
	{
		self::checkInit();

		$attrs = array_merge([ 'alt'   => $spell_name ], self::getSetting(self::SET_CUSTOM_IMG_ATTRS, []), $attributes);
		$attrs['class'] = implode(' ', [
			self::getSetting(self::SET_DEFAULT_CLASS),
			self::getSetting(self::SET_SPELL_ICON_CLASS),
			@self::getSetting(self::SET_CUSTOM_IMG_ATTRS, [])['class'],
			@$attributes['class'],
		]);
		$attrs['src'] = self::getSpellIconUrl($spell_name);

		return Html::el('img', $attrs);
	}
public static function getSpellIcon ( string $ spell_name , array $ attributes = [ ] ) : Html { self :: checkInit ( ) ; $ attrs = array_merge ( [ 'alt' => $ spell_name ] , self :: getSetting ( self :: SET_CUSTOM_IMG_ATTRS , [ ] ) , $ attributes ) ; $ attrs [ 'class' ] = implode ( ' ' , [ self :: getSetting ( self :: SET_DEFAULT_CLASS ) , self :: getSetting ( self :: SET_SPELL_ICON_CLASS ) , @ self :: getSetting ( self :: SET_CUSTOM_IMG_ATTRS , [ ] ) [ 'class' ] , @ $ attributes [ 'class' ] , ] ) ; $ attrs [ 'src' ] = self :: getSpellIconUrl ( $ spell_name ) ; return Html :: el ( 'img' , $ attrs ) ; }
Returns spell or summoner spell icon in img HTML TAG.

@param string $spell_name
@param array  $attributes

@return Html
@throws SettingsException
Returns spell or summoner spell icon in img HTML TAG .