tags using vectors as source */ class SvgIconProvider extends AbstractSvgIconProvider { /** * @throws \InvalidArgumentException */ protected function generateMarkup(Icon $icon, array $options): string { if (empty($options['source'])) { throw new \InvalidArgumentException('[' . $icon->getIdentifier() . '] The option "source" is required and must not be empty', 1460976566); } $source = $options['source']; return ''; } /** * @throws \InvalidArgumentException */ protected function generateInlineMarkup(array $options): string { if (empty($options['source'])) { throw new \InvalidArgumentException('The option "source" is required and must not be empty', 1460976610); } $source = $options['source']; return $this->getInlineSvg($source); } }