/** * {@inheritdoc} */ public function update(Node $node) { $this->log = $this->client->patch($this->log, $this->nodeNormalizer->normalize($node)); return $this; }
/** * {@inheritdoc} */ public function denormalize(array $json) { return TreeLog::existing($json['_id'], $this->nodeNormalizer->denormalize($json), $this->denormalizeParent($json), $this->denormalizeStatus($json)); }