We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 957dda4 commit ca73336Copy full SHA for ca73336
src/Application.php
@@ -461,6 +461,12 @@ private function registerCommands()
461
);
462
}
463
464
+ if (method_exists($command, 'setDrupalFinder')) {
465
+ $command->setDrupalFinder(
466
+ $this->container->get('console.drupal_finder')
467
+ );
468
+ }
469
+
470
if (array_key_exists($command->getName(), $aliases)) {
471
$commandAliases = $aliases[$command->getName()];
472
if (!is_array($commandAliases)) {
@@ -501,6 +507,7 @@ private function registerGenerators()
501
507
if (!$generator) {
502
508
continue;
503
509
510
504
511
if (method_exists($generator, 'setRenderer')) {
505
512
$generator->setRenderer(
506
513
$this->container->get('console.renderer')
0 commit comments