src/Datajet/Resource/Batch.php
public function finish()
    {
        $response = $this->client->post("{$this->uriImport}fullimport/finish", [
            'query' => [
                'key' => $this->config['data']['key'],
            ],
        ]);

        $response = json_decode($response->getBody(), true);

        return isset($response['status']) && $response['status'] === 'ok';
    }
public function finish()
    {
        $response = $this->client->post("{$this->uriImport}fullimport/finish", [
            'query' => [
                'key' => $this->config['data']['key'],
            ],
        ]);

        $response = json_decode($response->getBody(), true);

        return isset($response['status']) && $response['status'] === 'ok';
    }
public function finish ( ) { $ response = $ this -> client -> post ( "{$this->uriImport}fullimport/finish" , [ 'query' => [ 'key' => $ this -> config [ 'data' ] [ 'key' ] , ] , ] ) ; $ response = json_decode ( $ response -> getBody ( ) , true ) ; return isset ( $ response [ 'status' ] ) && $ response [ 'status' ] === 'ok' ; }
Close import queue.

@throws \GuzzleHttp\Exception\GuzzleException

@return bool
Close import queue .