$configuration
$configuration : \FACTFinder\Core\ConfigurationInterface
This implementation retrieves the FACT-Finder data from the file system. File names are generated from request parameters. For the naming convention see the getFileName() method.
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>
$log : \FACTFinder\Util\LoggerInterface
__construct( $loggerClass, \FACTFinder\Core\ConfigurationInterface $configuration)
| $loggerClass | ||
| \FACTFinder\Core\ConfigurationInterface | $configuration |
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. |