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