File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -59,4 +59,9 @@ public function withSkip(string ...$job): self;
59
59
* Provides access to the ResponseInterface instance for the given `$job`.
60
60
*/
61
61
public function response (string $ job ): CastInterface ;
62
+
63
+ /**
64
+ * @deprecated Use `response` instead.
65
+ */
66
+ public function getReturn (string $ job ): CastInterface ;
62
67
}
Original file line number Diff line number Diff line change @@ -108,6 +108,11 @@ public function response(string $job): CastInterface
108
108
return $ this ->map ->get ($ job );
109
109
}
110
110
111
+ public function getReturn (string $ job ): CastInterface
112
+ {
113
+ return $ this ->response ($ job );
114
+ }
115
+
111
116
private function assertNoSkipOverflow (string $ job , MessageInterface $ message ): void
112
117
{
113
118
if ($ this ->skip ->contains ($ job )) {
You can’t perform that action at this time.
0 commit comments