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