private function Parser::moveToNextLine

Moves the parser to the next line.

Return value

Boolean

5 calls to Parser::moveToNextLine()

File

drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php, line 341

Class

Parser
Parser parses YAML strings to convert them to PHP arrays.

Namespace

Symfony\Component\Yaml

Code

private function moveToNextLine() {
  if ($this->currentLineNb >= count($this->lines) - 1) {
    return false;
  }
  $this->currentLine = $this->lines[++$this->currentLineNb];
  return true;
}