You are here

public function Dumper::setIndentation in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Symfony/Component/Yaml/Dumper.php \Symfony\Component\Yaml\Dumper::setIndentation()
  2. 7.2 vendor/Symfony/Component/Yaml/Dumper.php \Symfony\Component\Yaml\Dumper::setIndentation()

Sets the indentation.

Parameters

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

File

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