Skip to content

Commit 713b58d

Browse files
committed
Update Readme
1 parent 8fc2c3c commit 713b58d

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# Guzzle Commands
22

33
[![License](https://poser.pugx.org/guzzlehttp/command/license)](https://packagist.org/packages/guzzlehttp/command)
4-
[![Build Status](https://travis-ci.org/guzzle/command.svg?branch=master)](https://travis-ci.org/guzzle/command)
5-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/guzzle/command/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/guzzle/command/?branch=master)
6-
[![Code Coverage](https://scrutinizer-ci.com/g/guzzle/command/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/guzzle/command/?branch=master)
4+
[![Build Status](https://travis-ci.org/guzzle/command.svg?branch=master)](https://travis-ci.org/guzzle/command)
5+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/guzzle/command/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/guzzle/command/?branch=master)
6+
[![Code Coverage](https://scrutinizer-ci.com/g/guzzle/command/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/guzzle/command/?branch=master)
77
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/7a93338e-50cd-42f7-9299-17c44d92148f/mini.png)](https://insight.sensiolabs.com/projects/7a93338e-50cd-42f7-9299-17c44d92148f)
88
[![Latest Stable Version](https://poser.pugx.org/guzzlehttp/command/v/stable)](https://packagist.org/packages/guzzlehttp/command)
99
[![Latest Unstable Version](https://poser.pugx.org/guzzlehttp/command/v/unstable)](https://packagist.org/packages/guzzlehttp/command)
1010
[![Total Downloads](https://poser.pugx.org/guzzlehttp/command/downloads)](https://packagist.org/packages/guzzlehttp/command)
1111

12-
This library uses Guzzle (``guzzlehttp/guzzle``, version 6.x) and provides the
12+
This library uses Guzzle (``guzzlehttp/guzzle``, version 7.x) and provides the
1313
foundations to create fully-featured web service clients by abstracting Guzzle
1414
HTTP **requests** and **responses** into higher-level **commands** and
1515
**results**. A **middleware** system, analogous to — but separate from — the one
1616
in the HTTP layer may be used to customize client behavior when preparing
1717
commands into requests and processing responses into results.
1818

1919
### Commands
20-
20+
2121
Key-value pair objects representing an operation of a web service. Commands have a name and a set of parameters.
2222

2323
### Results
@@ -65,8 +65,7 @@ $command = $client->getCommand($commandName, $arguments);
6565

6666
```
6767

68-
After creating a command, you may execute the command using the ``execute()``
69-
method of the client.
68+
After creating a command, you may execute the command using the ``execute()`` method of the client.
7069

7170
```php
7271
$result = $client->execute($command);
@@ -107,7 +106,7 @@ $promise = $client->fooAsync(['baz' => 'bar']);
107106
```php
108107
$result = $promise->wait();
109108

110-
echo $result['fizz']; //> 'buzz'
109+
echo $result['fizz']; //> 'buzz'
111110
```
112111

113112
## Concurrent Requests

0 commit comments

Comments
 (0)