Returns the current line number (takes the offset into account).
Return value
integer The current line number
File
- drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php, line 263
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\Yaml
Code
private function getRealCurrentLineNb() {
return $this->currentLineNb + $this->offset;
}