You are here

public function Dumper::setIndentation in Service Container 7

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

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