lib/Elastica/Cluster/Settings.php
public function request(array $data = [], string $method = Request::GET): Response
    {
        $path = '_cluster/settings';

        return $this->getClient()->request($path, $method, $data);
    }
public function request(array $data = [], string $method = Request::GET): Response
    {
        $path = '_cluster/settings';

        return $this->getClient()->request($path, $method, $data);
    }
public function request ( array $ data = [ ] , string $ method = Request :: GET ) : Response { $ path = '_cluster/settings' ; return $ this -> getClient ( ) -> request ( $ path , $ method , $ data ) ; }
Sends settings request.

@param array  $data   OPTIONAL Data array
@param string $method OPTIONAL Transfer method (default = \Elastica\Request::GET)

@return Response Response object
Sends settings request .