public function getThumbnails() { return $this->formats; }
/** * {@inheritdoc} * * @VirtualProperty */ public function getImage() { if (!array_key_exists('50x50', $thumbnails = $this->entity->getThumbnails())) { return; } return $thumbnails['50x50']; }