src/ServiceRuntime/RoleEnvironment.php
public static function removeRoleEnvironmentStoppingListener($listener)
    {
        foreach (self::$_stoppingListeners as $key => $stoppingListener) {
            if ($stoppingListener == $listener) {
                unset(self::$_stoppingListeners[$key]);

                return true;
            }
        }

        return false;
    }
public static function removeRoleEnvironmentStoppingListener($listener)
    {
        foreach (self::$_stoppingListeners as $key => $stoppingListener) {
            if ($stoppingListener == $listener) {
                unset(self::$_stoppingListeners[$key]);

                return true;
            }
        }

        return false;
    }
public static function removeRoleEnvironmentStoppingListener ( $ listener ) { foreach ( self :: $ _stoppingListeners as $ key => $ stoppingListener ) { if ( $ stoppingListener == $ listener ) { unset ( self :: $ _stoppingListeners [ $ key ] ) ; return true ; } } return false ; }
Removes an event listener for the Stopping event.

@param callable $listener The stopping listener

@static

@return bool
Removes an event listener for the Stopping event .