Lines Matching defs:tagAttributes
10 private TagAttributes $tagAttributes;
39 public static function createFromTagAttributes(TagAttributes $tagAttributes): Icon
45 $tagAttributes->addComponentAttributeValue(TagAttributes::TYPE_KEY, FetcherSvg::ICON_TYPE);
50 $name = $tagAttributes->getValue(FetcherSvg::NAME_ATTRIBUTE);
73 $tagAttributes->addComponentAttributeValue(MediaMarkup::$MEDIA_QUERY_PARAMETER, $mediaDokuPath->getWikiId());
74 $tagAttributes->setComponentAttributeValue(FetcherSvg::NAME_ATTRIBUTE, $mediaDokuPath->getLastNameWithoutExtension());
85 $fetcherSvg = FetcherSvg::createFromAttributes($tagAttributes);
89 ->setTagAttributes($tagAttributes);
94 public static function createFromComboResource(string $name, TagAttributes $tagAttributes = null): Icon
100 if ($tagAttributes !== null) {
101 $icon->setTagAttributes($tagAttributes);
112 private function setTagAttributes(TagAttributes $tagAttributes): Icon
114 $this->tagAttributes = $tagAttributes;
127 if (isset($this->tagAttributes)) {
128 $mediaMarkup->buildFromTagAttributes($this->tagAttributes);