gigablah/guzzle-argument-list
Composer 安装命令:
composer require gigablah/guzzle-argument-list
包简介
A trait for the Guzzle Service Client that allows operations to be called with an argument list.
README 文档
README
Use this trait in your Guzzle Service Client. Instead of:
$result = $client->foo(['id' => 1, 'baz' => 'bar']);
You can now do this:
$result = $client->foo(1, ['baz' => 'bar']);
Or this:
$result = $client->foo(1, 'bar');
Arguments are matched with parameters according to their order in the service description.
Installation
Use Composer to install the library by adding it to your composer.json.
{
"require": {
"gigablah/guzzle-argument-list": "~0.0.1"
}
}
License
Released under the MIT license. See the LICENSE file for details.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-29