public function onInput($input)
    {
        foreach ($this->loopListeners as $listeners) {
            if (($return = $listeners->onInput($this, $input)) !== null) {
                $input = $return;
            }
        }

        return $input;
    }
public function onInput($input)
    {
        foreach ($this->loopListeners as $listeners) {
            if (($return = $listeners->onInput($this, $input)) !== null) {
                $input = $return;
            }
        }

        return $input;
    }
public function onInput ( $ input ) { foreach ( $ this -> loopListeners as $ listeners ) { if ( ( $ return = $ listeners -> onInput ( $ this , $ input ) ) !== null ) { $ input = $ return ; } } return $ input ; }
Run execution loop listeners on user input.

@param string $input

@return string
Run execution loop listeners on user input .