function nextService()
    {

        if ($this->services) {
            $this->_current = array_shift($this->services);
        } else {
            $this->_current = null;
        }

        return $this->_current;
    }
function nextService()
    {

        if ($this->services) {
            $this->_current = array_shift($this->services);
        } else {
            $this->_current = null;
        }

        return $this->_current;
    }
function nextService ( ) { if ( $ this -> services ) { $ this -> _current = array_shift ( $ this -> services ) ; } else { $ this -> _current = null ; } return $ this -> _current ; }
Return the next service

$this->current() will continue to return that service until the
next call to this method.
Return the next service