1 | <?php |
||
29 | class NodeAttrsCatRequest extends AbstractBaseRequest |
||
30 | { |
||
31 | const REQUEST_ACTION = '_cat'; |
||
32 | const CAT_TYPE = 'nodeattrs'; |
||
33 | |||
34 | |||
35 | 11 | public function __construct($index, $type, SerializerInterface $serializer, array $serializerParams = array()) |
|
41 | |||
42 | /** |
||
43 | * @param string $rawData |
||
44 | * @param \Elastification\Client\Serializer\SerializerInterface $serializer |
||
45 | * @param array $serializerParams |
||
46 | * |
||
47 | * @return Response |
||
48 | * @author Daniel Wendlandt |
||
49 | */ |
||
50 | 1 | public function createResponse( |
|
57 | |||
58 | /** |
||
59 | * gets a response class name that is supported by this class |
||
60 | * |
||
61 | * @return string |
||
62 | * @author Daniel Wendlandt |
||
63 | */ |
||
64 | 1 | public function getSupportedClass() |
|
68 | |||
69 | /** |
||
70 | * @inheritdoc |
||
71 | */ |
||
72 | 1 | public function getMethod() |
|
76 | |||
77 | /** |
||
78 | * @inheritdoc |
||
79 | */ |
||
80 | 1 | public function getAction() |
|
84 | |||
85 | /** |
||
86 | * @inheritdoc |
||
87 | */ |
||
88 | 1 | public function getIndex() |
|
92 | |||
93 | /** |
||
94 | * @inheritdoc |
||
95 | */ |
||
96 | 1 | public function getType() |
|
100 | |||
101 | /** |
||
102 | * @inheritdoc |
||
103 | */ |
||
104 | 1 | public function getBody() |
|
108 | |||
109 | /** |
||
110 | * @inheritdoc |
||
111 | */ |
||
112 | 1 | public function setBody($body) |
|
116 | |||
117 | |||
118 | } |
||
119 |