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