Slide 29
Slide 29 text
$c1
=
$s3-‐>getCommand('PutObject',
array(
'Bucket'
=>
'my-‐bucket-‐name',
'Key'
=>
'my-‐first-‐key',
'Body'
=>
fopen('path/to/file1',
'r')
));
$c2
=
$s3-‐>getCommand('PutObject',
array(
'Bucket'
=>
'my-‐bucket-‐name',
'Key'
=>
'my-‐second-‐key',
'Body'
=>
fopen('path/to/file2',
'r')
));
$s3-‐>execute(array($c1,
$c2));
Parallel Commands!