public function Dumper::setIndentation

Sets the indentation.

Parameters

integer $num The amount of spaces to use for intendation of nested nodes.:

File

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

Class

Dumper
Dumper dumps PHP variables to YAML strings.

Namespace

Symfony\Component\Yaml

Code

public function setIndentation($num) {
  $this->indentation = (int) $num;
}