protected getGlpiConfig ( ) : array | ||
return | array |
protected function getGlpiConfig()
{
global $CFG_GLPI;
$this->initEndpoint();
$excludedKeys = array_flip(Config::$undisclosedFields);
return ['cfg_glpi' => array_diff_key($CFG_GLPI, $excludedKeys)];
}