protected function getDefaultLoopListeners()
    {
        $listeners = [];

        if (ProcessForker::isSupported() && $this->config->usePcntl()) {
            $listeners[] = new ProcessForker();
        }

        if (RunkitReloader::isSupported()) {
            $listeners[] = new RunkitReloader();
        }

        return $listeners;
    }
protected function getDefaultLoopListeners()
    {
        $listeners = [];

        if (ProcessForker::isSupported() && $this->config->usePcntl()) {
            $listeners[] = new ProcessForker();
        }

        if (RunkitReloader::isSupported()) {
            $listeners[] = new RunkitReloader();
        }

        return $listeners;
    }
protected function getDefaultLoopListeners ( ) { $ listeners = [ ] ; if ( ProcessForker :: isSupported ( ) && $ this -> config -> usePcntl ( ) ) { $ listeners [ ] = new ProcessForker ( ) ; } if ( RunkitReloader :: isSupported ( ) ) { $ listeners [ ] = new RunkitReloader ( ) ; } return $ listeners ; }
Gets the default command loop listeners.

@return array An array of Execution Loop Listener instances
Gets the default command loop listeners .