src/Operation/Recommendation/AbstractOperation.php
public function execute()
    {
        $request = $this->initGraphqlRequest();
        $response = $request->postRaw(
            $this->buildPayload()
        );
        if ($response->getCode() !== 200) {
            throw ExceptionBuilder::fromHttpRequestAndResponse($request, $response);
        }

        return ResultSetBuilder::fromHttpResponse($response);
    }
public function execute()
    {
        $request = $this->initGraphqlRequest();
        $response = $request->postRaw(
            $this->buildPayload()
        );
        if ($response->getCode() !== 200) {
            throw ExceptionBuilder::fromHttpRequestAndResponse($request, $response);
        }

        return ResultSetBuilder::fromHttpResponse($response);
    }
public function execute ( ) { $ request = $ this -> initGraphqlRequest ( ) ; $ response = $ request -> postRaw ( $ this -> buildPayload ( ) ) ; if ( $ response -> getCode ( ) !== 200 ) { throw ExceptionBuilder :: fromHttpRequestAndResponse ( $ request , $ response ) ; } return ResultSetBuilder :: fromHttpResponse ( $ response ) ; }
Returns the result

@return ResultSet
@throws AbstractHttpException
@throws NostoException
@throws HttpResponseException
Returns the result