This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
What's better? #25
Closed
Description
What's better?
$smConfig = isset($configuration['service_manager']) ? $configuration['service_manager'] : [];
$serviceManager = new ServiceManager(new Service\ServiceManagerConfig($smConfig));
OR
$smConfig = &$configuration['service_manager'] ;
$serviceManager = new ServiceManager(new Service\ServiceManagerConfig((array)$smConfig));