1 | <?php |
||
27 | final 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 | 4 | public function __construct(HandlerInterface $requestHandler, SerializerRegistryInterface $serializerRegistry, $version) |
|
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | */ |
||
49 | 1 | public function getStatementsApiClient() |
|
59 | |||
60 | /** |
||
61 | * {@inheritDoc} |
||
62 | */ |
||
63 | 1 | public function getStateApiClient() |
|
72 | |||
73 | /** |
||
74 | * {@inheritDoc} |
||
75 | */ |
||
76 | 1 | public function getActivityProfileApiClient() |
|
84 | |||
85 | /** |
||
86 | * {@inheritDoc} |
||
87 | */ |
||
88 | 1 | public function getAgentProfileApiClient() |
|
97 | } |
||
98 |