Skip to content

Commit

Permalink
Removed deprecated factory_class and factory_method
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanlaarhoven authored Aug 5, 2016
1 parent 3192820 commit a1abe98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Resources/doc/cache-resolver/aws_s3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ You have to set up the services required:
services:
acme.amazon_s3:
class: Aws\S3\S3Client
factory_class: Aws\S3\S3Client
factory_method: factory
factory: [Aws\S3\S3Client, factory]
arguments:
-
key: %amazon.s3.key%
Expand All @@ -87,8 +86,7 @@ must be an associative array containing key and secret.
acme.amazon_s3:
class: Aws\S3\S3Client
factory_class: Aws\S3\S3Client
factory_method: factory
factory: [Aws\S3\S3Client, factory]
arguments:
-
credentials: { key: %amazon.s3.key%, secret: %amazon.s3.secret% }
Expand Down

0 comments on commit a1abe98

Please sign in to comment.