You are here

public function Parser::__construct in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/symfony/yaml/Parser.php \Symfony\Component\Yaml\Parser::__construct()

Constructor.

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:

File

vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php, line 40

Class

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

Namespace

Symfony\Component\Yaml

Code

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