VuFind API Documentation

EITBackendFactory extends AbstractBackendFactory
in package

Factory for EIT backends.

Tags
category

VuFind

author

Julia Bauder bauderj@grinnell.edu

author

David Maus maus@hab.de

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Site

Table of Contents

$config  : Config
VuFind configuration
$logger  : LoggerInterface
Logger.
$serviceLocator  : ContainerInterface
Service container.
__construct()  : mixed
Constructor
__invoke()  : Backend
Create service
setup()  : void
Initialize the factory
createBackend()  : Backend
Create the EIT backend.
createConnector()  : Connector
Create the EIT connector.
createConnectorCache()  : StorageInterface|null
Create cache for the connector if enabled in configuration
createHttpClient()  : Client
Create HTTP Client
createQueryBuilder()  : QueryBuilder
Create the EIT query builder.
createRecordCollectionFactory()  : RecordCollectionFactory
Create the record collection factory

Properties

Methods

__invoke()

Create service

public __invoke(ContainerInterface $sm, string $name[, array<string|int, mixed> $options = null ]) : Backend
Parameters
$sm : ContainerInterface

Service manager

$name : string

Requested service name (unused)

$options : array<string|int, mixed> = null

Extra options (unused)

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
Backend

setup()

Initialize the factory

public setup(ContainerInterface $sm) : void
Parameters
$sm : ContainerInterface

Service manager

Return values
void

createConnectorCache()

Create cache for the connector if enabled in configuration

protected createConnectorCache(Config $searchConfig) : StorageInterface|null
Parameters
$searchConfig : Config

Search configuration

Return values
StorageInterface|null

createHttpClient()

Create HTTP Client

protected createHttpClient([int $timeout = null ][, array<string|int, mixed> $options = [] ][, string $url = null ]) : Client
Parameters
$timeout : int = null

Request timeout

$options : array<string|int, mixed> = []

Other options

$url : string = null

Request URL (needed for proper local address check when the client is being proxified)

Return values
Client

Search results