Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
Update ElasticsearchEngine.php (#51)
Browse files Browse the repository at this point in the history
Predefine elastic variable.
  • Loading branch information
prajapatinirav authored and ErickTamayo committed Sep 18, 2017
1 parent 85bc852 commit 52a464a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ElasticsearchEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ class ElasticsearchEngine extends Engine
* @var string
*/
protected $index;

/**
* Elastic where the instance of Elastic|\Elasticsearch\Client is stored.
*
* @var object
*/
protected $elastic;

/**
* Create a new engine instance.
Expand Down

0 comments on commit 52a464a

Please sign in to comment.