LocaleDetectorFactory
in package
implements
DelegatorFactoryInterface
Locale Detector Delegator Factory
Tags
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
Return values
object —getStrategies()
Generator for retrieving strategies.
protected
getStrategies([LocaleSettings|null $settings = null ]) : Generator
Parameters
- $settings : LocaleSettings|null = null
-
Locale settings