Skip to content

Commit be5cd08

Browse files
authored
Also update the connection interface
The connection interface also needs the new port member variable and get function
1 parent d15f9cd commit be5cd08

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Elasticsearch/Connections/ConnectionInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ public function getTransportSchema();
5050
*/
5151
public function getHost();
5252

53+
/**
54+
* Get the port for this connection
55+
*
56+
* @return int
57+
*/
58+
public function getPort();
59+
5360
/**
5461
* Get the username:password string for this connection, null if not set
5562
*

0 commit comments

Comments
 (0)