Class FormAbstractServiceFactory

Summary

Fully Qualified Name: Laminas\Form\FormAbstractServiceFactory
Implements: AbstractFactoryInterface

Description

Methods

Name Description Defined By
__invoke() Create a form (v3) FormAbstractServiceFactory
canCreate() Can we create the requested service? (v3) FormAbstractServiceFactory
canCreateServiceWithName() Can we create the requested service? (v2) FormAbstractServiceFactory
createServiceWithName() Create a form (v2) FormAbstractServiceFactory

Method Details

__invoke()

Create a form (v3)

Parameter Name Type Description
$container \ContainerInterface
$requestedName string
$options array|null

Returns: \FormInterface

canCreate()

Can we create the requested service? (v3)

Parameter Name Type Description
$container \ContainerInterface
$requestedName string

Returns: bool

canCreateServiceWithName()

Can we create the requested service? (v2)

Parameter Name Type Description
$serviceLocator \ServiceLocatorInterface
$name string Service
$requestedName string Name

Returns: bool

createServiceWithName()

Create a form (v2)

Parameter Name Type Description
$serviceLocator \ServiceLocatorInterface
$name string Service
$requestedName string Name

Returns: \FormInterface

Top