/**
  * @param Resource|Graph $resourceOrGraph
  * @param array    $frame
  *
  * @return Graph
  */
 public function getGraph($resourceOrGraph, $frame = null)
 {
     if ($resourceOrGraph instanceof Graph) {
         return $resourceOrGraph;
     }
     return $resourceOrGraph->getGraph();
 }
Beispiel #2
0
 /**
  * @return int|void
  */
 public function delete($property, $value = null)
 {
     $this->snapshot();
     $out = parent::delete($property, $value);
     return $out;
 }