VuFind API Documentation

LocaleDetectorFactory
in package
implements DelegatorFactoryInterface

Locale Detector Delegator Factory

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

author

Sebastian Kehr kehr@ub.uni-leipzig.de

license

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

link

Main Site

Interfaces, Classes, Traits and Enums

DelegatorFactoryInterface

Table of Contents

__invoke()  : object
A factory that creates delegates of a given service
getStrategies()  : Generator
Generator for retrieving strategies.

Methods

__invoke()

A factory that creates delegates of a given service

public __invoke(ContainerInterface $container, string $name, callable $callback[, null|array<string|int, mixed> $options = null ]) : object
Parameters
$container : ContainerInterface

Container

$name : string

Service name

$callback : callable

Primary factory

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

Options

Tags
throws
ServiceNotFoundException

if unable to resolve the service.

throws
ServiceNotCreatedException

if an exception is raised when creating a service.

throws
ContainerExceptionInterface|Throwable

if any other error occurs

Return values
object

Search results