src/Plugin/Stub/Method.php
public function substitute()
    {
        if (isset($this->_substitutes[$this->_substituteIndex])) {
            return $this->_substitutes[$this->_substituteIndex++];
        }
        return $this->_substitutes ? end($this->_substitutes) : null;
    }
public function substitute()
    {
        if (isset($this->_substitutes[$this->_substituteIndex])) {
            return $this->_substitutes[$this->_substituteIndex++];
        }
        return $this->_substitutes ? end($this->_substitutes) : null;
    }
public function substitute ( ) { if ( isset ( $ this -> _substitutes [ $ this -> _substituteIndex ] ) ) { return $ this -> _substitutes [ $ this -> _substituteIndex ++ ] ; } return $ this -> _substitutes ? end ( $ this -> _substitutes ) : null ; }
Get the method substitute.

@return mixed
Get the method substitute .