Locator
Table of Contents
- $sm : ServiceManager
- Instance of ServiceManager.
- __callStatic() : mixed
- Add support for magic static method calls.
- getServiceManager() : ServiceManager
- Get service manager.
- setServiceManager() : mixed
- Set service manager for the game.
Properties
$sm
Instance of ServiceManager.
protected
static ServiceManager
$sm
Methods
__callStatic()
Add support for magic static method calls.
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
Return values
mixed —the returned value from the resolved method
getServiceManager()
Get service manager.
public
static getServiceManager() : ServiceManager
Return values
ServiceManager —setServiceManager()
Set service manager for the game.
public
static setServiceManager(ServiceManager $sm) : mixed
Parameters
- $sm : ServiceManager