protected function configureProcesses($server, array $processes)
    {
        foreach ($processes as $config) {
            $process = $this->createProcess($config);

            if ($handler = $this->parseEventHandler($config)) {
                $process->setEventHandler($handler);
            }

            $server->fork($process);
        }
    }