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