PHP Class Elastica\Transport\NullTransport
This is used in case you just need a test transport that doesn't do any connection to an elasticsearch
host but still returns a valid response object
Show file
Open project: ruflin/elastica
Class Usage Examples
Public Methods
Method |
Description |
|
exec ( Request $request, array $params ) : Response |
Null transport. |
|
Method Details
public exec ( Request $request, array $params ) : Response |
$request |
Elastica\Request |
|
$params |
array |
Hostname, port, path, ... |
return |
Elastica\Response |
Response empty object |