October\Rain\Support\Singleton
Overview
Public Methods
public static getSingletonInstance()
public static getSingletonInstance(): void
getSingletonInstance returns the final instance of this singleton
public static instance()
public static instance(): void
instance creates a new instance of this singleton
Protected Methods
protected __construct()
protected __construct(): void
protected static getSingletonAccessor()
protected static getSingletonAccessor(): void
getSingletonAccessor should return a meaningful IoC container code. Eg: backend.helper
protected init()
protected init(): void
init the singleton free from constructor parameters