Example #1
0
 /**
  * Insert a new record and get the value of the primary key.
  *
  * @param  array   $values
  * @param  string  $sequence
  * @return int
  */
 public function createClass($className)
 {
     // create a neo4j Node
     $node = $this->client->makeClass($className);
     // save the node
     $node->save();
 }