Fully Qualified Name: | Laminas\Form\FormAbstractServiceFactory |
Implements: | AbstractFactoryInterface |
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 |
Create a form (v3)
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$requestedName | string | |
$options | array|null |
Returns: \FormInterface
Can we create the requested service? (v3)
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$requestedName | string |
Returns: bool
Can we create the requested service? (v2)
Parameter Name | Type | Description |
---|---|---|
$serviceLocator | \ServiceLocatorInterface | |
$name | string | Service |
$requestedName | string | Name |
Returns: bool
Create a form (v2)
Parameter Name | Type | Description |
---|---|---|
$serviceLocator | \ServiceLocatorInterface | |
$name | string | Service |
$requestedName | string | Name |
Returns: \FormInterface