- trop de trucs d'un coup... je vais faire attention ensuite ^^'
This commit is contained in:
@@ -41,6 +41,10 @@ services:
|
||||
track_redirects: true
|
||||
|
||||
|
||||
App\Service\MangaScraperServiceOld:
|
||||
arguments:
|
||||
$projectDir: '%kernel.project_dir%'
|
||||
|
||||
App\Service\MangaScraperService:
|
||||
arguments:
|
||||
$projectDir: '%kernel.project_dir%'
|
||||
@@ -55,3 +59,15 @@ services:
|
||||
|
||||
App\Controller\MenuController:
|
||||
tags: [ 'controller.service_arguments' ]
|
||||
|
||||
App\Client\MangadexClient:
|
||||
arguments:
|
||||
$httpClient: '@GuzzleHttp\Client'
|
||||
$clientId: '%env(MANGADEX_CLIENT_ID)%'
|
||||
$clientSecret: '%env(MANGADEX_CLIENT_SECRET)%'
|
||||
$username: '%env(MANGADEX_USERNAME)%'
|
||||
$password: '%env(MANGADEX_PASSWORD)%'
|
||||
|
||||
App\Service\MangadexProvider:
|
||||
arguments:
|
||||
$client: '@App\Client\MangadexClient'
|
||||
|
||||
Reference in New Issue
Block a user