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