private function Parser::moveToPreviousLine in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::moveToPreviousLine()
Moves the parser to the previous line.
Return value
bool
4 calls to Parser::moveToPreviousLine()
- Parser::getNextEmbedBlock in vendor/
symfony/ yaml/ Parser.php - Returns the next embed block of YAML.
- Parser::isNextLineIndented in vendor/
symfony/ yaml/ Parser.php - Returns true if the next line is indented.
- Parser::isNextLineUnIndentedCollection in vendor/
symfony/ yaml/ Parser.php - Returns true if the next line starts unindented collection.
- Parser::parseBlockScalar in vendor/
symfony/ yaml/ Parser.php - Parses a block scalar.
File
- vendor/
symfony/ yaml/ Parser.php, line 489
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\YamlCode
private function moveToPreviousLine() {
if ($this->currentLineNb < 1) {
return false;
}
$this->currentLine = $this->lines[--$this->currentLineNb];
return true;
}