Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(S3/StreamWrapper) Add comment about implicit functionality.
  • Loading branch information
Doug Stevenson committed Jul 9, 2015
1 parent 9e73c46 commit 6db66f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/S3/StreamWrapper.php
Expand Up @@ -515,6 +515,8 @@ private function formatKey($key)
*/
public function rename($path_from, $path_to)
{
// PHP will not allow rename across wrapper types, so we can safely
// assume $path_from and $path_to have the same protocol
$this->initProtocol($path_from);
$partsFrom = $this->withPath($path_from);
$partsTo = $this->withPath($path_to);
Expand Down

0 comments on commit 6db66f4

Please sign in to comment.