Zend\Form\FormAbstractServiceFactory::canCreateServiceWithName
Can we create the requested service?
Signature
public function canCreateServiceWithName(ServiceLocatorInterface
$serviceLocator,
string
$name,
string
$requestedName )
Parameters
$serviceLocator
— Zend\ServiceManager\ServiceLocatorInterface
$name
— string- Service name (as resolved by ServiceManager)
$requestedName
— string- Name by which service was requested
Returns
- bool