public function __construct($questionTypeName, array $gapIdentifiers, array $possibleResponses, ResponseDeclaration $responseDeclaration = null)
 {
     parent::__construct($responseDeclaration);
     $this->questionTypeName = $questionTypeName;
     $this->gapIdentifiers = $gapIdentifiers;
     $this->possibleResponses = $possibleResponses;
 }
 public function __construct(array $interactionIdentifiers = [], array $unsortedResponseDeclarations = [])
 {
     //TODO: Technically incorrect, but this is simply used to auto-detect response processing template so it doesnt matter much
     parent::__construct(null);
     // Need to sort based on interaction identifiers first
     foreach ($interactionIdentifiers as $interactionIdentifier) {
         if (isset($unsortedResponseDeclarations[$interactionIdentifier])) {
             $this->responseDeclarations[$interactionIdentifier] = $unsortedResponseDeclarations[$interactionIdentifier];
         }
     }
 }
 public function __construct(array $hottextComponents, $maxChoices, ResponseDeclaration $responseDeclaration = null)
 {
     parent::__construct($responseDeclaration);
     $this->maxChoices = $maxChoices;
     $this->hottextComponents = $hottextComponents;
 }
 public function __construct(array $orderMapping, ResponseDeclaration $responseDeclaration = null)
 {
     parent::__construct($responseDeclaration);
     $this->orderMapping = $orderMapping;
 }
 public function __construct(array $stemsMapping, array $optionsMapping, ResponseDeclaration $responseDeclaration = null)
 {
     parent::__construct($responseDeclaration);
     $this->stemsMapping = $stemsMapping;
     $this->optionsMapping = $optionsMapping;
 }
 public function __construct(ResponseDeclaration $responseDeclaration = null, array $options, $maxChoices)
 {
     parent::__construct($responseDeclaration);
     $this->options = $options;
     $this->maxChoices = $maxChoices;
 }
 public function __construct(ResponseDeclaration $responseDeclaration, array $choices, $maxChoices)
 {
     parent::__construct($responseDeclaration);
     $this->choices = $choices;
     $this->maxChoices = $maxChoices;
 }