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