Skip to content

Commit 52a464a

Browse files
prajapatiniravErickTamayo
authored andcommitted
Update ElasticsearchEngine.php (ErickTamayo#51)
Predefine elastic variable.
1 parent 85bc852 commit 52a464a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/ElasticsearchEngine.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ class ElasticsearchEngine extends Engine
1616
* @var string
1717
*/
1818
protected $index;
19+
20+
/**
21+
* Elastic where the instance of Elastic|\Elasticsearch\Client is stored.
22+
*
23+
* @var object
24+
*/
25+
protected $elastic;
1926

2027
/**
2128
* Create a new engine instance.

0 commit comments

Comments
 (0)