Class ServiceManagerConfig

Summary

Fully Qualified Name: Zend\Mvc\Service\ServiceManagerConfig
Extends: Config

Description

Methods

Name Description Defined By
__construct() Constructor ServiceManagerConfig
configureServiceManager() Configure service container. ServiceManagerConfig
toArray() Return all service configuration ServiceManagerConfig

Method Details

__construct()

Constructor

Merges internal arrays with those passed via configuration, and also defines:

Parameter Name Type Description
$config array

Returns:

configureServiceManager()

Configure service container.

Uses the configuration present in the instance to configure the provided service container.

Before doing so, it adds a "service" entry for the ServiceManager class, pointing to the provided service container.

Parameter Name Type Description
$services \ServiceManager

Returns: \ServiceManager

toArray()

Return all service configuration

Returns: array

Top