Skip to content

Commit

Permalink
[DOCS] Usage example for creating ClientBuilder fixed (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
feridmovsumov authored and polyfractal committed May 3, 2016
1 parent b013ab0 commit 6a868ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ The recommended method to install _Elasticsearch-PHP_ is through [Composer](http

```php
<?php

use Elasticsearch\ClientBuilder;

require 'vendor/autoload.php';

$client = ClientBuilder::create()->build();
Expand Down

0 comments on commit 6a868ea

Please sign in to comment.