This repository was archived by the owner on Jan 16, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 1616 */
1717class BatchClient implements HttpClient
1818{
19+ /**
20+ * @var HttpClient
21+ */
1922 private $ client ;
2023
24+ /**
25+ * @param HttpClient $client
26+ */
2127 public function __construct (HttpClient $ client )
2228 {
2329 $ this ->client = $ client ;
@@ -32,16 +38,16 @@ public function sendRequest(RequestInterface $request)
3238 }
3339
3440 /**
35- * Send several requests.
36- *
41+ * Send several requests.
42+ *
3743 * You may not assume that the requests are executed in a particular order. If the order matters
3844 * for your application, use sendRequest sequentially.
39- *
45+ *
4046 * @param RequestInterface[] The requests to send
41- *
47+ *
4248 * @return BatchResult Containing one result per request.
43- *
44- * @throws BatchException If one or more requests fails. The exception gives access to the
49+ *
50+ * @throws BatchException If one or more requests fails. The exception gives access to the
4551 * BatchResult with a map of request to result for success, request to
4652 * exception for failures.
4753 */
You can’t perform that action at this time.
0 commit comments