File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ protected function getRequestBody($key = null)
5656 protected function setResponseStatusCode ($ statusCode )
5757 {
5858 $ this ->responseStatusCode = $ statusCode ;
59+
5960 return $ this ;
6061 }
6162
@@ -71,24 +72,28 @@ protected function setResponseHttpHeader(array $header)
7172 protected function setResponseHeader ($ header )
7273 {
7374 $ this ->responseHeader = $ header ;
75+
7476 return $ this ;
7577 }
7678
7779 protected function setResponseType ($ responseType )
7880 {
7981 $ this ->responseType = $ responseType ;
82+
8083 return $ this ;
8184 }
8285
8386 protected function setResponseMessage ($ responseMessage )
8487 {
8588 $ this ->responseMessage = $ responseMessage ;
89+
8690 return $ this ;
8791 }
8892
8993 protected function setResponsePayload ($ data )
9094 {
9195 $ this ->responsePayload = $ data ;
96+
9297 return $ this ;
9398 }
9499
@@ -192,4 +197,3 @@ private function prepareRespondData()
192197 }
193198 }
194199}
195-
You can’t perform that action at this time.
0 commit comments