From: Vincent Vanwaelscappel Date: Wed, 28 Jun 2023 08:45:25 +0000 (+0200) Subject: wait #5898 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=15941f65cc501ad835b75eceb4fb1cb945d8aefc;p=cubist_util.git wait #5898 @0.25 --- 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"; + } + } }