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