1 | <?php |
||
24 | class GetDocumentRequest extends AbstractGetDocumentRequest |
||
25 | { |
||
26 | /** |
||
27 | * @param string $rawData |
||
28 | * @param \Elastification\Client\Serializer\SerializerInterface $serializer |
||
29 | * @param array $serializerParams |
||
30 | * |
||
31 | * @return DocumentResponse |
||
32 | */ |
||
33 | 1 | public function createResponse( |
|
34 | $rawData, |
||
35 | SerializerInterface $serializer, |
||
36 | array $serializerParams = array() |
||
37 | ) { |
||
38 | 1 | return new DocumentResponse($rawData, $serializer, $serializerParams); |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * gets a response class name that is supported by this class |
||
43 | * |
||
44 | * @return string |
||
45 | */ |
||
46 | 1 | public function getSupportedClass() |
|
50 | } |
||
51 |