1 | <?php |
||
31 | class CloseIndexRequest extends AbstractCloseIndexRequest |
||
32 | { |
||
33 | /** |
||
34 | * @param string $rawData |
||
35 | * @param SerializerInterface $serializer |
||
36 | * @param array $serializerParams |
||
37 | * |
||
38 | * @return IndexResponse |
||
39 | * @author Daniel Wendlandt |
||
40 | * @author Patrick Pokatilo <[email protected]> |
||
41 | */ |
||
42 | 1 | public function createResponse( |
|
43 | $rawData, |
||
44 | SerializerInterface $serializer, |
||
45 | array $serializerParams = array() |
||
46 | ) { |
||
47 | |||
48 | 1 | return new IndexResponse($rawData, $serializer, $serializerParams); |
|
49 | } |
||
50 | |||
51 | /** |
||
52 | * Gets a response class name that is supported by this class |
||
53 | * |
||
54 | * @return string |
||
55 | * @author Daniel Wendlandt |
||
56 | * @author Patrick Pokatilo <[email protected]> |
||
57 | */ |
||
58 | 1 | public function getSupportedClass() |
|
62 | } |
||
63 |