Clickalicious\PhpMemAdmin\App::getSettings PHP Method

getSettings() protected method

Retrieve settings from Memcached instance.
Author: Benjamin Carl ([email protected])
protected getSettings ( string $host ) : array
$host string The host to retrieve statistics from.
return array Containing the result
    protected function getSettings($host)
    {
        $host = explode(':', $host);
        $client = $this->getMemcachedClient($host[0], $host[1], $this->getConfig()->timeout);
        return $client->stats(CLIENT::STATS_TYPE_SETTINGS);
    }