You are here

public function Parser::__construct in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/yaml/Parser.php \Symfony\Component\Yaml\Parser::__construct()
  2. 8.0 vendor/symfony/css-selector/Parser/Parser.php \Symfony\Component\CssSelector\Parser\Parser::__construct()
  3. 8.0 vendor/egulias/email-validator/src/Egulias/EmailValidator/Parser/Parser.php \Egulias\EmailValidator\Parser\Parser::__construct()
Same name and namespace in other branches
  1. 8 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):

File

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

Class

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

Namespace

Symfony\Component\Yaml

Code

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