Esempio n. 1
0
 public function getDeliveries()
 {
     $amazon = AmazonS3::create('bucket', 'object', array(), 'public', 24);
     $filesystem = Filesystem::create('/path/to/target');
     return array(array($amazon, $amazon->toArray()), array($filesystem, $filesystem->toArray()));
 }
Esempio n. 2
0
 public function getDelivery()
 {
     $delivery = AmazonS3::create('sweet-kittens', 'object-name', array(), 'public-read', 12);
     $delivery->setClient($this->client);
     return $delivery;
 }