From 15941f65cc501ad835b75eceb4fb1cb945d8aefc Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 28 Jun 2023 10:45:25 +0200 Subject: [PATCH] wait #5898 @0.25 --- src/CommandLine.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/CommandLine.php b/src/CommandLine.php index 7bcd850..05566ba 100644 --- a/src/CommandLine.php +++ b/src/CommandLine.php @@ -322,4 +322,13 @@ class CommandLine $this->makeCommande(); dd($this->getCommand()); } + + public function dump() + { + if (function_exists('dump')) { + dump($this->getCommand(), $this->getOutput()); + } else { + echo $this->getCommand() . "\n\n" . $this->getOutput() . "\n\n"; + } + } } -- 2.39.5