public getImageIdentifier ( ) : string | ||
Résultat | string |
public function getImageIdentifier()
{
return $this->imageIdentifier;
}
/** * {@inheritdoc} */ public function formatError(Model\Error $model) { $data = array('error' => array('code' => $model->getHttpCode(), 'message' => $model->getErrorMessage(), 'date' => $this->dateFormatter->formatDate($model->getDate()), 'imboErrorCode' => $model->getImboErrorCode())); if ($imageIdentifier = $model->getImageIdentifier()) { $data['imageIdentifier'] = $imageIdentifier; } return $this->encode($data); }