Skip to content

Commit

Permalink
Enable count code lines on generators (#3559)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuarez20 authored and jmolivas committed Oct 28, 2017
1 parent 5392ca3 commit 37103e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}
}
}

Expand Down

0 comments on commit 37103e0

Please sign in to comment.