private function Parser::moveToNextLine in Currency 7.2
Moves the parser to the next line.
Return value
bool
5 calls to Parser::moveToNextLine()
- Parser::getNextEmbedBlock in currency/
vendor/ symfony/ yaml/ Parser.php - Returns the next embed block of YAML.
- Parser::isNextLineIndented in currency/
vendor/ symfony/ yaml/ Parser.php - Returns true if the next line is indented.
- Parser::isNextLineUnIndentedCollection in currency/
vendor/ symfony/ yaml/ Parser.php - Returns true if the next line starts unindented collection.
- Parser::parse in currency/
vendor/ symfony/ yaml/ Parser.php - Parses a YAML string to a PHP value.
- Parser::parseFoldedScalar in currency/
vendor/ symfony/ yaml/ Parser.php - Parses a folded scalar.
File
- currency/
vendor/ symfony/ yaml/ Parser.php, line 413
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\YamlCode
private function moveToNextLine() {
if ($this->currentLineNb >= count($this->lines) - 1) {
return false;
}
$this->currentLine = $this->lines[++$this->currentLineNb];
return true;
}