public function getNextCallable()
    {
        if(!$this->initiated)
        {
            reset($this->callables);

            $this->initiated = true;

            return current($this->callables);
        }

        return next($this->callables);
    }
public function getNextCallable()
    {
        if(!$this->initiated)
        {
            reset($this->callables);

            $this->initiated = true;

            return current($this->callables);
        }

        return next($this->callables);
    }
public function getNextCallable ( ) { if ( ! $ this -> initiated ) { reset ( $ this -> callables ) ; $ this -> initiated = true ; return current ( $ this -> callables ) ; } return next ( $ this -> callables ) ; }
Get the next call, and move the pointer
If movement hasn't initiated, get current
@return Call
Get the next call and move the pointer If movement hasn t initiated get current