ConfigAbstractFactory
in package
implements
AbstractFactoryInterface
Interfaces, Classes, Traits and Enums
- AbstractFactoryInterface
- Interface for an abstract factory.
Table of Contents
- __invoke() : mixed
- {@inheritDoc}
- canCreate() : bool
- Factory can create the service if there is a key for it in the config
Methods
__invoke()
{@inheritDoc}
public
__invoke(ContainerInterface $container, mixed $requestedName[, array<string|int, mixed> $options = null ]) : mixed
Parameters
- $container : ContainerInterface
- $requestedName : mixed
- $options : array<string|int, mixed> = null
Return values
mixed —canCreate()
Factory can create the service if there is a key for it in the config
public
canCreate(ContainerInterface $container, mixed $requestedName) : bool
Parameters
- $container : ContainerInterface
- $requestedName : mixed