Skip to content
Code-Schnipsel Gruppen Projekte
Commit a2187db0 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'next-1.x' into '1.x'

feat(ArticleView): add new method getImageUrl

See merge request !127
Übergeordnete c908702d 275e8d6c
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
1 Merge Request!127feat(ArticleView): add new method getImageUrl
Pipeline-Nr. 9591 mit Warnungen bestanden
...@@ -172,6 +172,14 @@ public function getPrice(): string ...@@ -172,6 +172,14 @@ public function getPrice(): string
return $Currency->format($calc['price']); return $Currency->format($calc['price']);
} }
/**
* @return string
*/
public function getImageUrl(): string
{
return $this->Article->getImage()->getUrl();
}
/** /**
* Create the html * Create the html
* *
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren