hasSingleton() public method
Returns a value indicating whether the given name corresponds to a registered singleton.
public boolean hasSingleton ( $class, $checkInstance = false )$class string
Class name, interface name or alias name $checkInstance boolean
Whether to check if the singleton has been instantiated. return boolean
Whether the given name corresponds to a registered singleton. If $checkInstance is true, the method should return a value indicating whether the singleton has