You are here

public function Parser::__construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/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

modules/providers/service_container_symfony/lib/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;
}