=== Description
This task is a proposal to create the needed PHP API in the `MetricsPlatform` extension to start working there on the new PHP xLab SDK following the current approach we prepare for the feature code to deal with the experiment enrollment configuration.
We propose the following:
- There will be an `experimentManager.getExperiment( EXPERIMENT_NAME )` function to get the enrollment details (the assigned group) for the experiment whose name if passed as parameter as an `Experiment` object
- The proposed API for the `Experiment` class is the following:
- An `experiment.isEnrolled()` method to check if the user is enrolled in the corresponding experiment
- An `experiment.getAssignedGroup()` method to get the group that has been assigned to the current user for the corresponding experiment
- An `experiment.submitInteraction( ACTION )` method for the corresponding experiment to send a related event
=== Acceptance criteria
[] Experiment Manager has the following new functions:
[] `$experiment = $experimentManager->getExperiment( EXPERIMENT_NAME)`
[] `$experiment->isEnrolled()`
[] `$experiment->getAssignedGroup()`
[] `$experiment->submitInteraction( ACTION )`