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

allow overriding of services in LoadDataFixturesDoctrineCommand (branch master) #175

Conversation

fprochazka
Copy link

I wanted to override something in executor, but that cannot be done without copy&pasting huge chunks of code in the command. This simple refactoring solves it.

@fprochazka fprochazka changed the title allow overriding of services in LoadDataFixturesDoctrineCommand allow overriding of services in LoadDataFixturesDoctrineCommand (branch master) Aug 3, 2016
@@ -139,4 +141,32 @@ private function askConfirmation(InputInterface $input, OutputInterface $output,

return $questionHelper->ask($input, $output, $question);
}

/**

Choose a reason for hiding this comment

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

It looks like coding standard is miss matched.

@fprochazka fprochazka force-pushed the services-in-command-can-be-overriden-master branch from 17dedf9 to 5c3fa81 Compare August 3, 2016 18:05
@alcaeus alcaeus added this to 3.2 in Roadmap Dec 11, 2018
@alcaeus
Copy link
Member

alcaeus commented Jun 7, 2019

I'm closing this PR: for one, we don't want to make the purgers and executors injectable this way. As I've explained in #88 (comment), this needs changes in the underlying library, after which we'll be able to create services for purgers and executors which people can then override based on interfaces. In the meantime, I'm closing this PR. Thanks @fprochazka, and sorry for the very, very, very late feedback.

@alcaeus alcaeus closed this Jun 7, 2019
@alcaeus alcaeus removed this from 3.2 in Roadmap Jun 7, 2019
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.

None yet

3 participants