From 7842ff704c0e886b88a62e8e90f14f8ecd5c5f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=9D=A6=E7=B1=B3?= Date: Wed, 6 Oct 2021 02:31:52 +0800 Subject: [PATCH] Expose the underlying output implementation --- src/Illuminate/Console/OutputStyle.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Illuminate/Console/OutputStyle.php b/src/Illuminate/Console/OutputStyle.php index fe5dc450ca45..ef2518feeeff 100644 --- a/src/Illuminate/Console/OutputStyle.php +++ b/src/Illuminate/Console/OutputStyle.php @@ -68,4 +68,14 @@ public function isDebug() { return $this->output->isDebug(); } + + /** + * Get the underlying Symfony output implementation. + * + * @return \Symfony\Component\Console\Output\OutputInterface + */ + public function getOutput() + { + return $this->output; + } }