PHP 클래스 Zend\Mvc\Service\ServiceManagerConfig

상속: extends Zend\ServiceManager\Config
파일 보기 프로젝트 열기: zendframework/zend-mvc 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config array In addition to these, the constructor registers several factories and initializers; see that method for details.

공개 메소드들

메소드 설명
__construct ( array $config = [] ) Constructor
configureServiceManager ( Zend\ServiceManager\ServiceManager $services ) : Zend\ServiceManager\ServiceManager Configure service container.
toArray ( ) : array Return all service configuration (v3)

메소드 상세

__construct() 공개 메소드

Merges internal arrays with those passed via configuration, and also defines: - factory for the service 'SharedEventManager'. - initializer for EventManagerAwareInterface implementations
public __construct ( array $config = [] )
$config array

configureServiceManager() 공개 메소드

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.
public configureServiceManager ( Zend\ServiceManager\ServiceManager $services ) : Zend\ServiceManager\ServiceManager
$services Zend\ServiceManager\ServiceManager
리턴 Zend\ServiceManager\ServiceManager

toArray() 공개 메소드

Return all service configuration (v3)
public toArray ( ) : array
리턴 array

프로퍼티 상세

$config 보호되어 있는 프로퍼티

In addition to these, the constructor registers several factories and initializers; see that method for details.
protected array $config
리턴 array