8000 [Var-Dumper] added feature to set default nodes collapsed by MGDSoft · Pull Request #18148 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Var-Dumper] added feature to set default nodes collapsed #18148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[Var-Dumper] added displayOptions(initDepth, maxDepth, maxStringLength)
  • Loading branch information
MGDSoft committed Apr 2, 2016
commit d5aae40c0a1d8f2ef3714e0e4f50ba16ccf3c48d
5 changes: 1 addition & 4 deletions src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,7 @@ public function setDumpBoundaries($prefix, $suffix)
*/
public function dump(Data $data, $output = null, array $displayOptions = [])
{
if ($displayOptions) {
$this->setDisplayOptions($displayOptions);
}

$this->setDisplayOptions($displayOptions);
parent::dump($data, $output);
$this->dumpId = 'sf-dump-'.mt_rand();
}
Expand Down
0