Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve bootstrap / initialization of the site:install method #5576

Merged
merged 6 commits into from
May 20, 2023

Conversation

greg-1-anderson
Copy link
Member

We'll start by adding a createEarly factory, and improve from there.

Copy link
Member

@weitzman weitzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just nits

@@ -327,8 +328,14 @@ public function configureAndRegisterCommands(InputInterface $input, OutputInterf
// unset($commandClasses[__DIR__ . '/Commands/help/HelpCommands.php']);
// unset($commandClasses[__DIR__ . '/Commands/help/ListCommands.php']);

// Instantiate our command handler objects with the service manager
// (handles 'createEarly' static factories)
$commanInstances = $this->serviceManager->instantiateServices($commandClasses, Drush::getContainer());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo - missing d in commanInstances

src/Runtime/ServiceManager.php Outdated Show resolved Hide resolved
greg-1-anderson and others added 2 commits May 20, 2023 10:43
Co-authored-by: Moshe Weitzman <weitzman@tejasa.com>
@greg-1-anderson greg-1-anderson merged commit 4477f45 into 12.x May 20, 2023
@greg-1-anderson greg-1-anderson deleted the si-bootstrap branch May 20, 2023 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants