mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 16:46:30 +03:00
Add recipe for datana-gmbh/url-shortener-api (#1503)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
_defaults:
|
||||
autowire: true
|
||||
|
||||
Datana\UrlShortener\Api\UrlShortenerClient:
|
||||
arguments:
|
||||
- '%env(URL_SHORTENER_API_BASE_URI)%'
|
||||
- '%env(URL_SHORTENER_API_USERNAME)%'
|
||||
- '%env(URL_SHORTENER_API_PASSWORD)%'
|
||||
|
||||
Datana\UrlShortener\Api\UrlShortenerApi: null
|
||||
Datana\UrlShortener\Api\UrlShortenerApiInterface: '@Datana\UrlShortener\Api\UrlShortenerApi'
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"URL_SHORTENER_API_BASE_URI": "",
|
||||
"URL_SHORTENER_API_USERNAME": "",
|
||||
"URL_SHORTENER_API_PASSWORD": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user