Skip to content

Commit

Permalink
Merge pull request #60 from greg0ire/mark_s3_client_as_lazy
Browse files Browse the repository at this point in the history
Mark s3 client service definition as lazy
  • Loading branch information
howardlopez authored Nov 7, 2019
2 parents 143339d + 1290d90 commit 03fd46b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DependencyInjection/AwsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class_exists($clientClass) ? $clientClass : AwsClient::class
}

return $serviceDefinition
->setLazy(true)
->setFactoryService('aws_sdk')
->setFactoryMethod('create' . $name);
}
Expand Down

0 comments on commit 03fd46b

Please sign in to comment.