You are here

public function Parser::__construct 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::__construct()

Parameters

int $offset The offset of YAML document (used for line numbers in error messages):

int|null $totalNumberOfLines The overall number of lines being parsed:

int[] $skippedLineNumbers Number of comment lines that have been skipped by the parser:

File

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

Class

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

Namespace

Symfony\Component\Yaml

Code

public function __construct($offset = 0, $totalNumberOfLines = null, array $skippedLineNumbers = array()) {
  $this->offset = $offset;
  $this->totalNumberOfLines = $totalNumberOfLines;
  $this->skippedLineNumbers = $skippedLineNumbers;
}