public function Parser::__construct

Constructor

Parameters

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

File

drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php, line 33

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