Zend\Di\ServiceLocatorInterface::set
Register a service with the locator
Signature
public function set(string
$name,
mixed
$service )
Parameters
$name
— string$service
— mixed
Returns
- ServiceLocatorInterface