1
0

refactoring of commands. now they are semantic

This commit is contained in:
frostealth
2016-10-08 00:17:22 +06:00
parent 55fa650f52
commit b4d9605bdc
17 changed files with 142 additions and 138 deletions

View File

@@ -20,7 +20,7 @@ final class GetPresignedUrlCommandHandler extends Handler
public function handle(GetPresignedUrlCommand $command): string
{
$awsCommand = $this->s3Client->getCommand('GetObject', $command->getArgs());
$request = $this->s3Client->createPresignedRequest($awsCommand, $command->getExpires());
$request = $this->s3Client->createPresignedRequest($awsCommand, $command->getExpiration());
return (string)$request->getUri();
}