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

Persist object when using `WP_CLI::add_command()` with class method #2398

Merged
merged 2 commits into from Jan 19, 2016

Conversation

@danielbachhuber
Copy link
Member

commented Jan 19, 2016

This permits an instance to be shared between commands, or be
instantiated with additional data.

See #2204

Persist object when using `WP_CLI::add_command()` with class method
This permits an instance to be shared between commands, or be
instantiated with additional data.

@danielbachhuber danielbachhuber added this to the 0.23.0 milestone Jan 19, 2016

danielbachhuber added a commit that referenced this pull request Jan 19, 2016
Merge pull request #2398 from wp-cli/2204-class-callable-method
Persist object when using `WP_CLI::add_command()` with class method

@danielbachhuber danielbachhuber merged commit b4e072a into master Jan 19, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@danielbachhuber danielbachhuber deleted the 2204-class-callable-method branch Jan 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.