프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$serviceClasses | array | ||
$services | array |
메소드 | 설명 | |
---|---|---|
getInstance ( ) : |
Get singleton instance | |
getService ( string $serviceName ) : object | Get service | |
setServiceClass ( string $serviceName, string $className ) | Override default service class |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Private constructor |
public static getInstance ( ) : |
||
리턴 |
public getService ( string $serviceName ) : object | ||
$serviceName | string | Name of service |
리턴 | object |
public setServiceClass ( string $serviceName, string $className ) | ||
$serviceName | string | Name of service |
$className | string | Name of service class |