/**
  * Returns the caption of the original image
  *
  * @return string
  */
 public function getCaption()
 {
     return $this->originalAsset->getCaption();
 }
Ejemplo n.º 2
0
 /**
  * @param Image $image
  * @return array
  */
 protected function buildImageMetaDataArray(Image $image)
 {
     return ['title' => $image->getTitle(), 'caption' => $image->getCaption()];
 }