src/Gaufrette/Adapter/GoogleCloudStorage.php 1 location
|
@@ 358-365 (lines=8) @@
|
| 355 |
|
} |
| 356 |
|
} |
| 357 |
|
|
| 358 |
|
protected function computePath($key) |
| 359 |
|
{ |
| 360 |
|
if (empty($this->options['directory'])) { |
| 361 |
|
return $key; |
| 362 |
|
} |
| 363 |
|
|
| 364 |
|
return sprintf('%s/%s', $this->options['directory'], $key); |
| 365 |
|
} |
| 366 |
|
|
| 367 |
|
/** |
| 368 |
|
* @param string $path |
src/Gaufrette/Adapter/AwsS3.php 1 location
|
@@ 358-365 (lines=8) @@
|
| 355 |
|
return $options; |
| 356 |
|
} |
| 357 |
|
|
| 358 |
|
protected function computePath($key) |
| 359 |
|
{ |
| 360 |
|
if (empty($this->options['directory'])) { |
| 361 |
|
return $key; |
| 362 |
|
} |
| 363 |
|
|
| 364 |
|
return sprintf('%s/%s', $this->options['directory'], $key); |
| 365 |
|
} |
| 366 |
|
|
| 367 |
|
/** |
| 368 |
|
* MultiPart upload for big files (exceeding size_limit) |