You are here

public function Parser::__construct in Plug 7

Constructor.

Parameters

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

File

lib/Symfony/yaml/Symfony/Component/Yaml/Parser.php, line 36

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