/** * Returns the package's icon. * * @return string */ public function getIcon() { if (!isset(parse_url($this->icon)['scheme'])) { return $this->loader->getUrl($this, $this->icon); } else { return $this->icon; } }