src/Factory.php
public static function destroyService(string $sServiceName, ?string $sComponentName = ''): bool
    {
        return static::destroyServiceOrModel(
            static::$aLoadedItems['SERVICES'],
            null,
            $sServiceName,
            $sComponentName
        );
    }
public static function destroyService(string $sServiceName, ?string $sComponentName = ''): bool
    {
        return static::destroyServiceOrModel(
            static::$aLoadedItems['SERVICES'],
            null,
            $sServiceName,
            $sComponentName
        );
    }
public static function destroyService ( string $ sServiceName , ? string $ sComponentName = '' ) : bool { return static :: destroyServiceOrModel ( static :: $ aLoadedItems [ 'SERVICES' ] , null , $ sServiceName , $ sComponentName ) ; }
Allows for a service to be destroyed so that a subsequent request will yeild a new instance

@param string $sServiceName   The name of the service to destroy
@param string $sComponentName The name of the component which provides the service

@return bool
Allows for a service to be destroyed so that a subsequent request will yeild a new instance