diff --git a/ikoene/marvel-api-bundle/0.1/config/packages/marvel_api_client.yaml b/ikoene/marvel-api-bundle/0.1/config/packages/marvel_api_client.yaml new file mode 100644 index 00000000..b81b7e20 --- /dev/null +++ b/ikoene/marvel-api-bundle/0.1/config/packages/marvel_api_client.yaml @@ -0,0 +1,7 @@ +services: + ikoene_marvel_api_client: + class: Ikoene\MarvelApiBundle\Controller\Client + public: true + arguments: + - '%env(MARVEL_PUBLIC_API_KEY)%' + - '%env(MARVEL_PRIVATE_API_KEY)%' diff --git a/ikoene/marvel-api-bundle/0.1/manifest.json b/ikoene/marvel-api-bundle/0.1/manifest.json index da2c6290..1a9af784 100644 --- a/ikoene/marvel-api-bundle/0.1/manifest.json +++ b/ikoene/marvel-api-bundle/0.1/manifest.json @@ -2,6 +2,9 @@ "bundles": { "Ikoene\\MarvelApiBundle\\IkoeneMarvelApiBundle": ["all"] }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, "env": { "MARVEL_PUBLIC_API_KEY": "", "MARVEL_PRIVATE_API_KEY": ""