1 | <?php |
||
27 | class XApiClient extends ApiClient implements XApiClientInterface |
||
28 | { |
||
29 | /** |
||
30 | * @var SerializerRegistryInterface |
||
31 | */ |
||
32 | private $serializerRegistry; |
||
33 | |||
34 | /** |
||
35 | * @param HandlerInterface $requestHandler The HTTP request handler |
||
36 | * @param SerializerRegistryInterface $serializerRegistry The serializer registry |
||
37 | * @param string $version The xAPI version |
||
38 | */ |
||
39 | public function __construct(HandlerInterface $requestHandler, SerializerRegistryInterface $serializerRegistry, $version) |
||
45 | |||
46 | public function getSerializerRegistry() |
||
50 | |||
51 | /** |
||
52 | * {@inheritDoc} |
||
53 | */ |
||
54 | public function getStatementsApiClient() |
||
64 | |||
65 | /** |
||
66 | * {@inheritDoc} |
||
67 | */ |
||
68 | public function getStateApiClient() |
||
77 | |||
78 | /** |
||
79 | * {@inheritDoc} |
||
80 | */ |
||
81 | public function getActivityProfileApiClient() |
||
89 | |||
90 | /** |
||
91 | * {@inheritDoc} |
||
92 | */ |
||
93 | public function getAgentProfileApiClient() |
||
102 | } |
||
103 |