$configuration
$configuration : \FACTFinder\Core\ConfigurationInterface
This implementation retrieves the FACT-Finder data by using the "easy cURL interface" (I didn't even make that up; that's what cURL itself calls it: 'easy' as opposed to 'multi').
Responses are queried sequentially and lazily and are cached as long as parameters don't change.
$configuration : \FACTFinder\Core\ConfigurationInterface
$connectionData : array<mixed,\FACTFinder\Core\Server\ConnectionData>
$urlBuilder : \FACTFinder\Core\Server\UrlBuilder
$curl : \FACTFinder\Util\CurlInterface
$log : \FACTFinder\Util\LoggerInterface
__construct( $loggerClass, \FACTFinder\Core\ConfigurationInterface $configuration, \FACTFinder\Util\CurlInterface $curl, \FACTFinder\Core\Server\UrlBuilder $urlBuilder)
| $loggerClass | ||
| \FACTFinder\Core\ConfigurationInterface | $configuration | |
| \FACTFinder\Util\CurlInterface | $curl | |
| \FACTFinder\Core\Server\UrlBuilder | $urlBuilder |
register(\FACTFinder\Core\Server\ConnectionData $connectionData)
Make a connection data object known to the data provider and obtain an ID for it (basically, a handle).
| \FACTFinder\Core\Server\ConnectionData | $connectionData | The connection data object to be registered. |
if the $id is already in use.
setConnectTimeout(mixed $id, integer $timeout)
Set the number of seconds to wait while trying to connect. Any particular implementation of this abstract class is free to ignore this timeout, but it should respect it if the underlying connection mechanism allows.
| mixed | $id | The ID of the connection data for which to set the timeout. |
| integer | $timeout | The timeout in seconds. |
setTimeout(mixed $id, integer $timeout)
Set the number of seconds to wait for the entire request to complete. Any particular implementation of this abstract class is free to ignore this timeout, but it should respect it if the underlying connection mechanism allows.
| mixed | $id | The ID of the connection data for which to set the timeout. |
| integer | $timeout | The timeout in seconds. |