public static function fromRaw(array $response): self
    {
        $data = $response['data'] ?? [];

        return new self(
            self::buildNodes($data),
            self::buildRelationships($data),
            self::buildRows($response)
        );
    }
public static function fromRaw(array $response): self
    {
        $data = $response['data'] ?? [];

        return new self(
            self::buildNodes($data),
            self::buildRelationships($data),
            self::buildRows($response)
        );
    }
public static function fromRaw ( array $ response ) : self { $ data = $ response [ 'data' ] ?? [ ] ; return new self ( self :: buildNodes ( $ data ) , self :: buildRelationships ( $ data ) , self :: buildRows ( $ response ) ) ; }
Build a result object out of a standard neo4j rest api response

@param array $response

@return self
Build a result object out of a standard neo4j rest api response