2017 © Pedro Peláez
 

library guzzle-argument-list

A trait for the Guzzle Service Client that allows operations to be called with an argument list.

image

gigablah/guzzle-argument-list

A trait for the Guzzle Service Client that allows operations to be called with an argument list.

  • Friday, August 29, 2014
  • by Gigablah
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ArgumentListTrait

Use this trait in your Guzzle Service Client. Instead of:, (*1)

$result = $client->foo(['id' => 1, 'baz' => 'bar']);

You can now do this:, (*2)

$result = $client->foo(1, ['baz' => 'bar']);

Or this:, (*3)

$result = $client->foo(1, 'bar');

Arguments are matched with parameters according to their order in the service description., (*4)

Installation

Use [Composer][1] to install the library by adding it to your composer.json., (*5)

{
    "require": {
        "gigablah/guzzle-argument-list": "~0.0.1"
    }
}

License

Released under the MIT license. See the LICENSE file for details., (*6)

The Versions

29/08 2014

dev-master

9999999-dev https://github.com/gigablah/guzzle-argument-list

A trait for the Guzzle Service Client that allows operations to be called with an argument list.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

api command guzzle operation

29/08 2014

0.0.1

0.0.1.0 https://github.com/gigablah/guzzle-argument-list

A trait for the Guzzle Service Client that allows operations to be called with an argument list.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

api command guzzle operation