src/Behat/Gherkin/Lexer.php
protected function consumeLine()
    {
        ++$this->lineNumber;

        if (($this->lineNumber - 1) === $this->linesCount) {
            $this->eos = true;

            return;
        }

        $this->line = $this->lines[$this->lineNumber - 1];
        $this->trimmedLine = null;
    }
protected function consumeLine()
    {
        ++$this->lineNumber;

        if (($this->lineNumber - 1) === $this->linesCount) {
            $this->eos = true;

            return;
        }

        $this->line = $this->lines[$this->lineNumber - 1];
        $this->trimmedLine = null;
    }
protected function consumeLine ( ) { ++ $ this -> lineNumber ; if ( ( $ this -> lineNumber - 1 ) === $ this -> linesCount ) { $ this -> eos = true ; return ; } $ this -> line = $ this -> lines [ $ this -> lineNumber - 1 ] ; $ this -> trimmedLine = null ; }
Consumes line from input & increments line counter.
Consumes line from input & increments line counter .