public function atomInside($atom) { $gremlin = 'emit( hasLabel(' . $this->SorA($atom) . ')).repeat( out(' . $this->linksDown . ') ).times(' . self::MAX_LOOPING . ').hasLabel(' . $this->SorA($atom) . ')'; $this->addMethod($gremlin); return $this; }