private function setAtom($atomId, $properties) { foreach ($properties as $k => $v) { $this->atoms[$atomId][$k] = $v; } return true; }