protected function getAtomFromNodeHash($node_hash) { if (empty($this->atomMap[$node_hash])) { $dict = $this->atomCache->getAtom($node_hash); $this->atomMap[$node_hash] = DivinerAtom::newFromDictionary($dict); } return $this->atomMap[$node_hash]; }
public function attachAtom(DivinerLiveAtom $atom = null) { if ($atom === null) { $this->atom = null; } else { $this->atom = DivinerAtom::newFromDictionary($atom->getAtomData()); } return $this; }
public function attachAtom(DivinerLiveAtom $atom) { $this->atom = DivinerAtom::newFromDictionary($atom->getAtomData()); return $this; }