function Dumper::__construct
Same name in this branch
- 11.1.x vendor/symfony/console/Helper/Dumper.php \Symfony\Component\Console\Helper\Dumper::__construct()
- 11.1.x vendor/symfony/dependency-injection/Dumper/Dumper.php \Symfony\Component\DependencyInjection\Dumper\Dumper::__construct()
Parameters
int $indentation The amount of spaces to use for indentation of nested nodes:
File
-
vendor/
symfony/ yaml/ Dumper.php, line 28
Class
- Dumper
- Dumper dumps PHP variables to YAML strings.
Namespace
Symfony\Component\YamlCode
public function __construct(int $indentation = 4) {
if ($indentation < 1) {
throw new \InvalidArgumentException('The indentation must be greater than zero.');
}
}