You are here

public function Dumper::__construct in Lockr 7.3

Parameters

int $indentation:

File

vendor/symfony/yaml/Dumper.php, line 33

Class

Dumper
Dumper dumps PHP variables to YAML strings.

Namespace

Symfony\Component\Yaml

Code

public function __construct($indentation = 4) {
  if ($indentation < 1) {
    throw new \InvalidArgumentException('The indentation must be greater than zero.');
  }
  $this->indentation = $indentation;
}