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