Zend\ServiceManager\ServiceManager::unregisterService
Unregister a service
Called when $allowOverride is true and we detect that a service being added to the instance already exists. This will remove the duplicate entry, and also any shared flags previously registered.
Signature
protected function unregisterService(string
$canonical )
Parameters
$canonical
— string
Returns
- void