You are here

private function Parser::isCurrentLineLastLineInDocument in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::isCurrentLineLastLineInDocument()
1 call to Parser::isCurrentLineLastLineInDocument()
Parser::parseBlockScalar in vendor/symfony/yaml/Parser.php
Parses a block scalar.

File

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

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