src/Endpoints/Execution/Execution.php 1 location
|
@@ 74-83 (lines=10) @@
|
71 |
|
* @param array $params |
72 |
|
* @return PromiseInterface |
73 |
|
*/ |
74 |
|
public function abort(string $id, array $params = []): PromiseInterface |
75 |
|
{ |
76 |
|
return $this->client->getConfiguration()->getGuzzle()->sendAsync( |
77 |
|
new Request( |
78 |
|
'GET', |
79 |
|
$this->client->getConfiguration()->getBaseUri() . sprintf('/execution/%s/abort', urlencode($id)), |
80 |
|
[], |
81 |
|
$this->client->getConfiguration()->getFormat()->formatParams($params)) |
82 |
|
); |
83 |
|
} |
84 |
|
|
85 |
|
/** |
86 |
|
* @return Output |
src/Endpoints/System/Execution.php 1 location
|
@@ 110-119 (lines=10) @@
|
107 |
|
* @param array $params |
108 |
|
* @return PromiseInterface |
109 |
|
*/ |
110 |
|
public function abort(string $id, array $params = []): PromiseInterface |
111 |
|
{ |
112 |
|
return $this->client->getConfiguration()->getGuzzle()->sendAsync( |
113 |
|
new Request( |
114 |
|
'GET', |
115 |
|
$this->client->getConfiguration()->getBaseUri() . sprintf('/execution/%s/abort', urlencode($id)), |
116 |
|
[], |
117 |
|
$this->client->getConfiguration()->getFormat()->formatParams($params)) |
118 |
|
); |
119 |
|
} |
120 |
|
|
121 |
|
/** |
122 |
|
* @return PromiseInterface |