You are here

public function Dumper::setIndentation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/yaml/Dumper.php \Symfony\Component\Yaml\Dumper::setIndentation()

Sets the indentation.

Parameters

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

File

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