ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Refinery Class Reference
+ Inheritance diagram for ILIAS\Refinery:
+ Collaboration diagram for ILIAS\Refinery:

Data Structures

class  ByTrying
 
class  ConstantTransformation
 
interface  Constraint
 A constraint encodes some resrtictions on values. More...
 
class  ConstraintViolationException
 
class  Factory
 
class  FactoryFactory
 This Javaism is required to solve the problem that we do not have proper during the setup. More...
 
class  IdentityTransformation
 
class  IsExecutableTransformation
 Validates that the given string is a valid and executable file path. More...
 
class  IsNull
 
class  KeyValueAccess
 
interface  Transformation
 A transformation is a function from one datatype to another. More...
 

Public Member Functions

 init (array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
 

Data Fields

trait DeriveApplyToFromTransform
 
trait DeriveInvokeFromTransform
 
trait DeriveTransformFromApplyTo
 
trait DeriveTransformWithProblem
 This trait is a convenience trait which uses DeriveApplyToFromTransform, DeriveInvokeFromTransform and ProblemBuilder and implements some methods that are always implemented the same. More...
 
trait ProblemBuilder
 

Detailed Description

Definition at line 23 of file Refinery.php.

Member Function Documentation

◆ init()

ILIAS\Refinery::init ( array|\ArrayAccess &  $define,
array|\ArrayAccess &  $implement,
array|\ArrayAccess &  $use,
array|\ArrayAccess &  $contribute,
array|\ArrayAccess &  $seek,
array|\ArrayAccess &  $provide,
array|\ArrayAccess &  $pull,
array|\ArrayAccess &  $internal 
)

Implements ILIAS\Component\Component.

Definition at line 25 of file Refinery.php.

34  : void {
35  $provide[\ILIAS\Refinery\Factory::class] = static fn() =>
36  new \ILIAS\Refinery\Factory(
37  $pull[\ILIAS\Data\Factory::class],
38  $use[\ILIAS\Language\Language::class]
39  );
40  }
Interface Observer Contains several chained tasks and infos about them.

Field Documentation

◆ DeriveApplyToFromTransform

trait ILIAS\Refinery::DeriveApplyToFromTransform
Initial value:
{
abstract public function transform($from)

Definition at line 29 of file DeriveApplyToFromTransform.php.

◆ DeriveInvokeFromTransform

trait ILIAS\Refinery::DeriveInvokeFromTransform
Initial value:
{
abstract public function transform($from)

Definition at line 24 of file DeriveInvokeFromTransform.php.

◆ DeriveTransformFromApplyTo

trait ILIAS\Refinery::DeriveTransformFromApplyTo
Initial value:
{
abstract public function applyTo(Result $result): Result

Definition at line 27 of file DeriveTransformFromApplyTo.php.

◆ DeriveTransformWithProblem

trait ILIAS\Refinery::DeriveTransformWithProblem
Initial value:

This trait is a convenience trait which uses DeriveApplyToFromTransform, DeriveInvokeFromTransform and ProblemBuilder and implements some methods that are always implemented the same.

The main purpose of this trait is to reduce duplicated code and make it easier to implement new constraints.

Definition at line 31 of file DeriveTransformWithProblem.php.

◆ ProblemBuilder

trait ILIAS\Refinery::ProblemBuilder
Initial value:
{
abstract protected function getError()

Definition at line 26 of file ProblemBuilder.php.


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