api/MarkLogic/MLPHP/MLPHP.php
public function getAdminClient()
    {
        return new RESTClient(
            $this->config['host'],
            $this->config['adminPort'],
            $this->config['adminPath'],
            $this->config['adminVersion'],
            $this->config['username'],
            $this->config['password'],
            $this->config['auth'],
            $this->config['logger']
        );
    }
public function getAdminClient()
    {
        return new RESTClient(
            $this->config['host'],
            $this->config['adminPort'],
            $this->config['adminPath'],
            $this->config['adminVersion'],
            $this->config['username'],
            $this->config['password'],
            $this->config['auth'],
            $this->config['logger']
        );
    }
Return a REST client to the admin API.

@return RESTClient