/**
  * @param HandlerInterface                   $requestHandler            The HTTP request handler
  * @param string                             $version                   The xAPI version
  * @param StatementSerializerInterface       $statementSerializer       The statement serializer
  * @param StatementResultSerializerInterface $statementResultSerializer The statement result serializer
  * @param ActorSerializerInterface           $actorSerializer           The actor serializer
  */
 public function __construct(HandlerInterface $requestHandler, $version, StatementSerializerInterface $statementSerializer, StatementResultSerializerInterface $statementResultSerializer, ActorSerializerInterface $actorSerializer)
 {
     parent::__construct($requestHandler, $version);
     $this->statementSerializer = $statementSerializer;
     $this->statementResultSerializer = $statementResultSerializer;
     $this->actorSerializer = $actorSerializer;
 }
Example #2
0
 /**
  * @param HandlerInterface                $requestHandler         The HTTP request handler
  * @param string                          $version                The xAPI version
  * @param DocumentDataSerializerInterface $documentDataSerializer The document data serializer
  */
 public function __construct(HandlerInterface $requestHandler, $version, DocumentDataSerializerInterface $documentDataSerializer)
 {
     parent::__construct($requestHandler, $version);
     $this->documentDataSerializer = $documentDataSerializer;
 }