PHP Interface Zend\ServiceManager\AbstractFactoryInterface

Show file Open project: zendframework/zend-servicemanager

Public Methods

Method Description
canCreateServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName ) : boolean Determine if we can create a service with name
createServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName ) : mixed Create service with name

Method Details

canCreateServiceWithName() public method

Determine if we can create a service with name
public canCreateServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName ) : boolean
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
$name
$requestedName
return boolean

createServiceWithName() public method

Create service with name
public createServiceWithName ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName ) : mixed
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
$name
$requestedName
return mixed