Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Last active Dec 4, 2020
Embed
What would you like to do?
services.yamlに作ったサービスを定義
services:
http.client.a-zumi.net:
class: GuzzleHttp\Client
factory: ['Customize\Factory\HttpClientFactory', 'create']
arguments:
$baseUri: 'https://a-zumi.net'
Customize\Service\WordPress\AzumiService:
arguments:
$client: '@http.client.a-zumi.net'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment