Created
January 9, 2016 20:51
-
-
Save WyriHaximus/d3070fbffa91acf2ec83 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $deferred = new Deferred(); | |
| $guzzlePromise->then(function ($result) use ($deferred) { | |
| $deferred->resolve($result); | |
| }); | |
| return $deferred; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment