You are here

private function Parser::isCurrentLineLastLineInDocument in Lockr 7.3

1 call to Parser::isCurrentLineLastLineInDocument()
Parser::parseBlockScalar in vendor/symfony/yaml/Parser.php
Parses a block scalar.

File

vendor/symfony/yaml/Parser.php, line 961

Class

Parser
Parser parses YAML strings to convert them to PHP arrays.

Namespace

Symfony\Component\Yaml

Code

private function isCurrentLineLastLineInDocument() {
  return $this->offset + $this->currentLineNb >= $this->totalNumberOfLines - 1;
}