Skip to content
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
Closed
@dimon-smith

Description

@dimon-smith

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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions