iconsProvider = $iconsProvider; } /** * @param string $type * @return array * @since 100.1.0 */ protected function getIconForType($type) { if (isset($this->iconsProvider->getIcons()[$type])) { return $this->iconsProvider->getIcons()[$type]; } return [ 'url' => '', 'width' => 0, 'height' => 0 ]; } }