ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilFileSystemSetupAgent Class Reference
+ Inheritance diagram for ilFileSystemSetupAgent:
+ Collaboration diagram for ilFileSystemSetupAgent:

Public Member Functions

 __construct (Refinery\Factory $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (Setup\Config $config=null)
 
 getUpdateObjective (Setup\Config $config=null)
 
 getBuildArtifactObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 

Protected Attributes

Refinery Factory $refinery
 

Detailed Description

Definition at line 21 of file class.ilFileSystemSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilFileSystemSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 27 of file class.ilFileSystemSetupAgent.php.

References $refinery, and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ilFileSystemSetupAgent::getArrayToConfigTransformation ( )

Definition at line 44 of file class.ilFileSystemSetupAgent.php.

References $data, and ILIAS\Repository\refinery().

44  : Refinery\Transformation
45  {
46  return $this->refinery->custom()->transformation(fn ($data): \ilFileSystemSetupConfig => new \ilFileSystemSetupConfig(
47  $data["data_dir"]
48  ));
49  }
+ Here is the call graph for this function:

◆ getBuildArtifactObjective()

ilFileSystemSetupAgent::getBuildArtifactObjective ( )

Definition at line 75 of file class.ilFileSystemSetupAgent.php.

75  : Setup\Objective
76  {
77  return new Setup\Objective\NullObjective();
78  }

◆ getInstallObjective()

ilFileSystemSetupAgent::getInstallObjective ( Setup\Config  $config = null)

PhpParamsInspection

Definition at line 54 of file class.ilFileSystemSetupAgent.php.

References $config.

54  : Setup\Objective
55  {
58  }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85

◆ getMigrations()

ilFileSystemSetupAgent::getMigrations ( )

Definition at line 91 of file class.ilFileSystemSetupAgent.php.

91  : array
92  {
93  return [];
94  }

◆ getStatusObjective()

ilFileSystemSetupAgent::getStatusObjective ( Setup\Metrics\Storage  $storage)

Definition at line 83 of file class.ilFileSystemSetupAgent.php.

◆ getUpdateObjective()

ilFileSystemSetupAgent::getUpdateObjective ( Setup\Config  $config = null)

PhpParamsInspection

Definition at line 63 of file class.ilFileSystemSetupAgent.php.

References $config.

63  : Setup\Objective
64  {
65  if ($config) {
68  }
69  return new Setup\Objective\NullObjective();
70  }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85

◆ hasConfig()

ilFileSystemSetupAgent::hasConfig ( )

Definition at line 36 of file class.ilFileSystemSetupAgent.php.

36  : bool
37  {
38  return true;
39  }

Field Documentation

◆ $refinery

Refinery Factory ilFileSystemSetupAgent::$refinery
protected

Definition at line 25 of file class.ilFileSystemSetupAgent.php.

Referenced by __construct().


The documentation for this class was generated from the following file: