We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8161fa1 commit fca44a4Copy full SHA for fca44a4
1 file changed
examples/stream.php examples/pull.phpexamples/stream.php renamed to examples/pull.php
@@ -6,6 +6,7 @@
6
use Clue\React\Docker\Factory;
7
8
$image = isset($argv[1]) ? $argv[1] : 'clue/redis-benchmark';
9
+echo 'Pulling image "' . $image . '" (pass as argument to this example)' . PHP_EOL;
10
11
$loop = LoopFactory::create();
12
@@ -14,7 +15,7 @@
14
15
16
$client->imageCreate($image)->then(
17
function ($response) {
- echo 'response: '; var_dump($response);
18
+ echo 'response: ' . json_encode($response) . PHP_EOL;
19
},
20
'var_dump',
21
function ($info) {
0 commit comments