Factory
in package
implements
FactoryInterface
Factory for instantiating content loaders
Tags
Interfaces, Classes, Traits and Enums
- FactoryInterface
Table of Contents
- __invoke() : object
- Create an object
- getConfigSettingName() : string
- Get the configuration setting name to get content provider settings.
- getPluginManagerServiceName() : string
- Get the plugin manager service name to build a content provider service.
Methods
__invoke()
Create an object
public
__invoke(ContainerInterface $container, string $requestedName[, null|array<string|int, mixed> $options = null ]) : object
Parameters
- $container : ContainerInterface
-
Service manager
- $requestedName : string
-
Service being created
- $options : null|array<string|int, mixed> = null
-
Extra options (optional)
Tags
Return values
object —getConfigSettingName()
Get the configuration setting name to get content provider settings.
protected
getConfigSettingName(string $name) : string
Parameters
- $name : string
-
Requested service name
Return values
string —getPluginManagerServiceName()
Get the plugin manager service name to build a content provider service.
protected
getPluginManagerServiceName(string $name) : string
Parameters
- $name : string
-
Requested service name