Skip to content

Commit

Permalink
applied alphabetical ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik committed Mar 26, 2024
1 parent ba0c14a commit 96d7fda
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
services:
_defaults:
autowire: true
autoconfigure: true
autowire: true
public: false

Shopsys\GoogleCloudBundle\:
resource: '../../*'

shopsys.google_cloud.storage_client:
class: Google\Cloud\Storage\StorageClient
Shopsys\GoogleCloudBundle\Filesystem\FilesystemFactoryDecorator:
arguments:
- projectId: '%env(GOOGLE_CLOUD_PROJECT_ID)%'
$inner: '@Shopsys\GoogleCloudBundle\Filesystem\FilesystemFactoryDecorator.inner'
$googleCloudStorageBucketName: '%env(GOOGLE_CLOUD_STORAGE_BUCKET_NAME)%'
$googleCloudProjectId: '%env(GOOGLE_CLOUD_PROJECT_ID)%'
decorates: Shopsys\FrameworkBundle\Component\Filesystem\MainFilesystemFactory

shopsys.google_cloud.storage_bucket:
class: Google\Cloud\Storage\Bucket
factory: ['@shopsys.google_cloud.storage_client', 'bucket']
arguments:
- '%env(GOOGLE_CLOUD_STORAGE_BUCKET_NAME)%'
class: Google\Cloud\Storage\Bucket
factory: ['@shopsys.google_cloud.storage_client', 'bucket']

Shopsys\GoogleCloudBundle\Filesystem\FilesystemFactoryDecorator:
decorates: Shopsys\FrameworkBundle\Component\Filesystem\MainFilesystemFactory
shopsys.google_cloud.storage_client:
arguments:
$inner: '@Shopsys\GoogleCloudBundle\Filesystem\FilesystemFactoryDecorator.inner'
$googleCloudStorageBucketName: '%env(GOOGLE_CLOUD_STORAGE_BUCKET_NAME)%'
$googleCloudProjectId: '%env(GOOGLE_CLOUD_PROJECT_ID)%'
- projectId: '%env(GOOGLE_CLOUD_PROJECT_ID)%'
class: Google\Cloud\Storage\StorageClient

0 comments on commit 96d7fda

Please sign in to comment.