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

Add ConsoleRunner similar to that in DBAL and ORM #446

Merged
merged 1 commit into from Mar 18, 2016

Conversation

c960657
Copy link
Contributor

@c960657 c960657 commented Mar 15, 2016

To make it easier to add the migration commands to existing console applications, this patch adds ConsoleRunner similar to that in DBAL and ORM.

{
$cli->addCommands(array(
new Command\ExecuteCommand(),
new Command\GenerateCommand(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR.
You forgot the Command\LatestCommand().
Can you update the PR ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Thanks for the review.

mikeSimonson added a commit that referenced this pull request Mar 18, 2016
Add ConsoleRunner similar to that in DBAL and ORM
@mikeSimonson mikeSimonson merged commit a726ac0 into doctrine:master Mar 18, 2016
@mikeSimonson
Copy link
Contributor

@c960657 Thanks a lot

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