19 declare(strict_types=1);
    51             $settings = new \ilGlobalCacheSettingsAdapter();
    54                 !isset(
$data[
"components"]) ||
    55                 !
$data[
"components"] ||
    56                 !isset(
$data[
"service"]) ||
    57                 $data[
"service"] === 
"none" ||
    59                     $data[
"service"] === 
"memcached" &&
    60                     (!isset(
$data[
"memcached_nodes"]) || count(
$data[
"memcached_nodes"]) === 0)
    66                 switch (
$data[
"service"]) {
    72                         array_walk(
$data[
"memcached_nodes"], 
function (array $node) use (
$settings): 
void {
    81                         throw new \InvalidArgumentException(
    82                             sprintf(
"Unknown caching service: '%s'", 
$data[
"service"])
    86                 if (
$data[
"components"] === 
"all") {
    89                     foreach (
$data[
"components"] as $cmp => $active) {
   104             (
string) $node[
"host"],
   106             (
int) $node[
"weight"]
   116             throw new Setup\UnachievableException(
'wrong config type, expected ilGlobalCacheSettings');
   129         return new Setup\Objective\NullObjective();
   137         return new Setup\Objective\NullObjective();
   161                 'flushes all GlobalCaches.',
   162                 function () use ($config) {
 
getBuildArtifactObjective()
 
An objective is a desired state of the system that is supposed to be created by the setup...
 
getStatusObjective(Setup\Metrics\Storage $storage)
 
Class ChatMainBarProvider . 
 
getArrayToConfigTransformation()
 
getUpdateObjective(Setup\Config $config=null)
 
__construct(Refinery\Factory $refinery)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ILIAS Refinery Factory $refinery
 
getNamedObjectives(?Config $config=null)
 
getInstallObjective(Setup\Config $config=null)
 
A configuration for the setup.