eos/com-view-client-bundle
Composer 安装命令:
composer require eos/com-view-client-bundle
包简介
Symfony integration for eos/com-view-client
README 文档
README
The Symfony integration for enm/com-view-client.
Installation
composer require eos/com-view-client-bundle
Configuration
eos_com_view_client: clients: # the key, in this example "api", will be your client name api: base_uri: 'http://example.com/api' # the base uri used with this api client
Usage
To access individual clients you can call Eos\Bundle\ComView\Client\ComViewClientRegistryInterface::getClient($name)
with$name like the configured key given in the configuration above.
Eos\Bundle\ComView\Client\ComViewClientRegistryInterface is available as service.
Each client is available as service with the individual id eos.com_view.client.CONFIGURED_NAME.
The first configured client will also be available as service Eos\ComView\Client\ComViewClient for autowiring.
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-23