From 37103e0827b7f3373f1ffe1789f81368be82edb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harold=20Ju=C3=A1rez?= Date: Sat, 28 Oct 2017 14:46:05 -0600 Subject: [PATCH] Enable count code lines on generators (#3559) --- src/Application.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Application.php b/src/Application.php index 02da82857..41c10ea85 100644 --- a/src/Application.php +++ b/src/Application.php @@ -112,6 +112,12 @@ private function registerGenerators() $this->container->get('console.file_queue') ); } + + if (method_exists($generator, 'setCountCodeLines')) { + $generator->setCountCodeLines( + $this->container->get('console.count_code_lines') + ); + } } }