src/Gaufrette/Adapter/GoogleCloudStorage.php 1 location
|
@@ 351-358 (lines=8) @@
|
| 348 |
|
} |
| 349 |
|
} |
| 350 |
|
|
| 351 |
|
protected function computePath($key) |
| 352 |
|
{ |
| 353 |
|
if (empty($this->options['directory'])) { |
| 354 |
|
return $key; |
| 355 |
|
} |
| 356 |
|
|
| 357 |
|
return sprintf('%s/%s', $this->options['directory'], $key); |
| 358 |
|
} |
| 359 |
|
|
| 360 |
|
/** |
| 361 |
|
* @param string $path |
src/Gaufrette/Adapter/AwsS3.php 1 location
|
@@ 338-345 (lines=8) @@
|
| 335 |
|
return $options; |
| 336 |
|
} |
| 337 |
|
|
| 338 |
|
protected function computePath($key) |
| 339 |
|
{ |
| 340 |
|
if (empty($this->options['directory'])) { |
| 341 |
|
return $key; |
| 342 |
|
} |
| 343 |
|
|
| 344 |
|
return sprintf('%s/%s', $this->options['directory'], $key); |
| 345 |
|
} |
| 346 |
|
|
| 347 |
|
/** |
| 348 |
|
* Computes the key from the specified path. |