You are here

private function Parser::getRealCurrentLineNb in Currency 7.2

Returns the current line number (takes the offset into account).

Return value

int The current line number

3 calls to Parser::getRealCurrentLineNb()
Parser::getNextEmbedBlock in currency/vendor/symfony/yaml/Parser.php
Returns the next embed block of YAML.
Parser::parse in currency/vendor/symfony/yaml/Parser.php
Parses a YAML string to a PHP value.
Parser::parseValue in currency/vendor/symfony/yaml/Parser.php
Parses a YAML value.

File

currency/vendor/symfony/yaml/Parser.php, line 305

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;
}