private function Parser::getRealCurrentLineNb in Translation template extractor 7.2
Same name and namespace in other branches
- 6.3 vendor/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::getRealCurrentLineNb()
- 7.3 vendor/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::getRealCurrentLineNb()
Returns the current line number (takes the offset into account).
Return value
integer The current line number
3 calls to Parser::getRealCurrentLineNb()
- Parser::getNextEmbedBlock in vendor/
Symfony/ Component/ Yaml/ Parser.php - Returns the next embed block of YAML.
- Parser::parse in vendor/
Symfony/ Component/ Yaml/ Parser.php - Parses a YAML string to a PHP value.
- Parser::parseValue in vendor/
Symfony/ Component/ Yaml/ Parser.php - Parses a YAML value.
File
- vendor/
Symfony/ Component/ Yaml/ Parser.php, line 263
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\YamlCode
private function getRealCurrentLineNb() {
return $this->currentLineNb + $this->offset;
}