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; }