![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Base class for AFS connectors. More...
Protected Member Functions | |
__construct ($host, AfsService $service=null, $scheme=null, SAI_CurlInterface $curlConnector=null) | |
Constructs new base connector. |
Base class for AFS connectors.
This class provided usefull methods to manage connection strings.
|
protected |
Constructs new base connector.
All parameter values should have been provided by Antidot.
$host | [in] Server hosting the required service. |
$service | [in] Antidot service (see AfsService). |
$scheme | [in] Scheme for the connection URL see Connection scheme. |
$curlConnector | [in] Connector to curl, useful for mocking curl calls |
InvalidArgumentException | invalid scheme parameter provided. |
Reimplemented in AfsSearchConnector, AfsBOWSConnector, and AfsAboutConnector.