Manager/GroupRestrictedSupervisor.php
public function stopAllProcesses($wait = true)
    {
        if (empty($this->groups)) {
            return parent::stopAllProcesses($wait);
        }

        $results = [];

        foreach ($this->groups as $group) {
            $results = array_merge($results, parent::stopProcessGroup($group, $wait));
        }

        return $results;
    }
public function stopAllProcesses($wait = true)
    {
        if (empty($this->groups)) {
            return parent::stopAllProcesses($wait);
        }

        $results = [];

        foreach ($this->groups as $group) {
            $results = array_merge($results, parent::stopProcessGroup($group, $wait));
        }

        return $results;
    }
public function stopAllProcesses ( $ wait = true ) { if ( empty ( $ this -> groups ) ) { return parent :: stopAllProcesses ( $ wait ) ; } $ results = [ ] ; foreach ( $ this -> groups as $ group ) { $ results = array_merge ( $ results , parent :: stopProcessGroup ( $ group , $ wait ) ) ; } return $ results ; }
Stop all processes listed in the configuration file.

@param bool $wait Wait for each process to be fully stoped

@return array result An array containing start statuses
Stop all processes listed in the configuration file .