Skip to content

Commit 2167299

Browse files
committed
add dump() helper on the ConsoleTester class
1 parent cf504ad commit 2167299

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/console/src/Testing/ConsoleTester.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,4 +320,11 @@ public function dd(): self
320320

321321
return $this;
322322
}
323+
324+
public function dump(): self
325+
{
326+
lw($this->output->asUnformattedString());
327+
328+
return $this;
329+
}
323330
}

0 commit comments

Comments
 (0)