示例#1
0
 /**
  * Add atom to concept in database
  * @return void
  */
 public function addAtom()
 {
     if ($this->atomExists()) {
         $this->logger->debug("Atom '{$this}' already exists in database");
     } else {
         $this->database->addAtomToConcept($this);
         $this->concept->addToAtomCache($this);
     }
     return $this;
 }