Lines Matching defs:Icon
5 class Icon
16 * @return Icon
23 public static function createFromName(string $name, TagAttributes $iconAttributes = null): Icon
39 public static function createFromTagAttributes(TagAttributes $tagAttributes): Icon
48 * Icon Svg file or Icon Library
52 throw new ExceptionNotFound("A name is mandatory as attribute for an icon. It was not found.", Icon::ICON_CANONICAL_NAME);
63 throw new ExceptionBadArgument("The extension of the icon ($name) is not `svg`", Icon::ICON_CANONICAL_NAME);
69 throw new ExceptionNotExists($message, Icon::ICON_CANONICAL_NAME);
87 return (new Icon())
94 public static function createFromComboResource(string $name, TagAttributes $tagAttributes = null): Icon
96 $icon = new Icon();
106 public function setFetcherSvg(FetcherSvg $fetchSvg): Icon
112 private function setTagAttributes(TagAttributes $tagAttributes): Icon