public function renderSVG($content, array $options = []) {
		$options = $options + $this->defaultOptions;

		$identifier = isset($options['identifier']) ? (string)$options['identifier'] : md5($content);

		if (!isset($this->usedSvgs[$identifier])) {
			$symbol = $this->processSVG($content, $options);
		} else {
			$symbol = $this->usedSvgs[$identifier];
		}

		return $this->renderSymbol($symbol, $options);
	}
public function renderSVG($content, array $options = []) {
		$options = $options + $this->defaultOptions;

		$identifier = isset($options['identifier']) ? (string)$options['identifier'] : md5($content);

		if (!isset($this->usedSvgs[$identifier])) {
			$symbol = $this->processSVG($content, $options);
		} else {
			$symbol = $this->usedSvgs[$identifier];
		}

		return $this->renderSymbol($symbol, $options);
	}
public function renderSVG ( $ content , array $ options = [ ] ) { $ options = $ options + $ this -> defaultOptions ; $ identifier = isset ( $ options [ 'identifier' ] ) ? ( string ) $ options [ 'identifier' ] : md5 ( $ content ) ; if ( ! isset ( $ this -> usedSvgs [ $ identifier ] ) ) { $ symbol = $ this -> processSVG ( $ content , $ options ) ; } else { $ symbol = $ this -> usedSvgs [ $ identifier ] ; } return $ this -> renderSymbol ( $ symbol , $ options ) ; }
render a single SVG

@param string $content SVG content
@return array $options are identifier, width, height, class, excludeFromConcatenation, ignoreDuplicateIds, removeComments
render a single SVG