1 | <?php |
||
31 | class GetAliasesRequest extends AbstractGetAliasesRequest |
||
32 | { |
||
33 | /** |
||
34 | * @param string $rawData |
||
35 | * @param \Elastification\Client\Serializer\SerializerInterface $serializer |
||
36 | * @param array $serializerParams |
||
37 | * |
||
38 | * @return ResponseInterface |
||
39 | * @author Daniel Wendlandt |
||
40 | */ |
||
41 | 1 | public function createResponse( |
|
42 | $rawData, |
||
43 | SerializerInterface $serializer, |
||
44 | array $serializerParams = array() |
||
45 | ) { |
||
46 | 1 | return new Response($rawData, $serializer, $serializerParams); |
|
47 | } |
||
48 | |||
49 | /** |
||
50 | * gets a response class name that is supported by this class |
||
51 | * |
||
52 | * @return string |
||
53 | * @author Daniel Wendlandt |
||
54 | */ |
||
55 | 1 | public function getSupportedClass() |
|
59 | |||
60 | } |
||
61 |