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

Public Member Functions

 __construct (Refinery\Factory $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getBuildArtifactObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 

Protected Attributes

Refinery Factory $refinery
 

Detailed Description

Definition at line 23 of file class.ilMathJaxSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilMathJaxSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 29 of file class.ilMathJaxSetupAgent.php.

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

30  {
31  $this->refinery = $refinery;
32  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ilMathJaxSetupAgent::getArrayToConfigTransformation ( )

Definition at line 45 of file class.ilMathJaxSetupAgent.php.

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

45  : Refinery\Transformation
46  {
47  return $this->refinery->custom()->transformation(function ($data) {
48  return new ilMathJaxSetupConfig((array) $data);
49  });
50  }
+ Here is the call graph for this function:

◆ getBuildArtifactObjective()

ilMathJaxSetupAgent::getBuildArtifactObjective ( )

Definition at line 82 of file class.ilMathJaxSetupAgent.php.

82  : Setup\Objective
83  {
84  return new Setup\Objective\NullObjective();
85  }

◆ getMigrations()

ilMathJaxSetupAgent::getMigrations ( )

Definition at line 98 of file class.ilMathJaxSetupAgent.php.

98  : array
99  {
100  return [];
101  }

◆ getStatusObjective()

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

Definition at line 90 of file class.ilMathJaxSetupAgent.php.

90  : Setup\Objective
91  {
92  return new ilMathJaxMetricsCollectedObjective($storage);
93  }

◆ hasConfig()

ilMathJaxSetupAgent::hasConfig ( )

Definition at line 37 of file class.ilMathJaxSetupAgent.php.

37  : bool
38  {
39  return true;
40  }

Field Documentation

◆ $refinery

Refinery Factory ilMathJaxSetupAgent::$refinery
protected

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

Referenced by __construct().


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