-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.1.0
-
Component/s: Nuxeo Platform Compat
-
Tags:
It's required to read the additional data received in the JSON response when enrichers are used.
Suggested change
--- a/nuxeo-php-client/src/Nuxeo/Client/Objects/Document.php 2020-12-10 18:34:37.703554686 +0100 +++ b/nuxeo-php-client-master/src/Nuxeo/Client/Objects/Document.php 2018-10-05 12:59:46.000000000 +0200 @@ -82,12 +82,6 @@ private $changeToken; /** + * @var mixed[] + * @Serializer\Type("array") + */ + private $contextParameters; + + /** * @var string * @Serializer\Type("string") */ @@ -371,6 +377,22 @@ return $this; } + /** + * @return mixed[] + */ + public function getContextParameters() { + return $this->contextParameters; + } + + /** + * @param mixed[] $contextParameters + * @return self + */ + public function setContextParameters($contextParameters) { + $this->contextParameters = $contextParameters; + return $this; + } + /** * @return string */