public function Dumper::setIndentation in Lockr 7.3
Sets the indentation.
Parameters
int $num The amount of spaces to use for indentation of nested nodes:
Deprecated
since version 3.1, to be removed in 4.0. Pass the indentation to the constructor instead.
File
- vendor/
symfony/ yaml/ Dumper.php, line 49
Class
- Dumper
- Dumper dumps PHP variables to YAML strings.
Namespace
Symfony\Component\YamlCode
public function setIndentation($num) {
@trigger_error('The ' . __METHOD__ . ' method is deprecated since Symfony 3.1 and will be removed in 4.0. Pass the indentation to the constructor instead.', E_USER_DEPRECATED);
$this->indentation = (int) $num;
}