src/ImboClient/ImboClient.php
public function replaceMetadata($imageIdentifier, array $metadata) {
        return $this->getCommand('ReplaceMetadata', array(
            'user' => $this->getUser(),
            'imageIdentifier' => $imageIdentifier,
            'metadata' => json_encode($metadata),
        ))->execute();
    }
public function replaceMetadata($imageIdentifier, array $metadata) {
        return $this->getCommand('ReplaceMetadata', array(
            'user' => $this->getUser(),
            'imageIdentifier' => $imageIdentifier,
            'metadata' => json_encode($metadata),
        ))->execute();
    }
public function replaceMetadata ( $ imageIdentifier , array $ metadata ) { return $ this -> getCommand ( 'ReplaceMetadata' , array ( 'user' => $ this -> getUser ( ) , 'imageIdentifier' => $ imageIdentifier , 'metadata' => json_encode ( $ metadata ) , ) ) -> execute ( ) ; }
Replace metadata of an image

@param string $imageIdentifier The identifier of the image
@param array $metadata The metadata to set
@return Model
Replace metadata of an image