ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\LegalDocuments\ConsumerToolbox\Convert Class Reference
+ Collaboration diagram for ILIAS\LegalDocuments\ConsumerToolbox\Convert:

Public Member Functions

 __construct (private readonly Transformation $from_string, private readonly Transformation $to_string)
 
 fromString ()
 
 toString ()
 

Detailed Description

Definition at line 25 of file Convert.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LegalDocuments\ConsumerToolbox\Convert::__construct ( private readonly Transformation  $from_string,
private readonly Transformation  $to_string 
)

Definition at line 27 of file Convert.php.

30  {
31  }

Member Function Documentation

◆ fromString()

ILIAS\LegalDocuments\ConsumerToolbox\Convert::fromString ( )

Definition at line 33 of file Convert.php.

Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Marshal\nullable(), and ILIAS\TermsOfService\UserSettings\setting().

33  : Transformation
34  {
35  return $this->from_string;
36  }
+ Here is the caller graph for this function:

◆ toString()

ILIAS\LegalDocuments\ConsumerToolbox\Convert::toString ( )

Definition at line 38 of file Convert.php.

Referenced by ILIAS\LegalDocuments\ConsumerToolbox\Marshal\nullable(), and ILIAS\TermsOfService\UserSettings\setting().

38  : Transformation
39  {
40  return $this->to_string;
41  }
+ Here is the caller graph for this function:

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