Skip to content

Split verification functions into its own service.#58

Closed
dpi wants to merge 5 commits into
8.x-1.xfrom
sms-verification-new-service-2797121
Closed

Split verification functions into its own service.#58
dpi wants to merge 5 commits into
8.x-1.xfrom
sms-verification-new-service-2797121

Conversation

@dpi
Copy link
Copy Markdown
Owner

@dpi dpi commented Sep 15, 2016

Copy link
Copy Markdown

@almaudoh almaudoh left a comment

Choose a reason for hiding this comment

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

Just a quick cursory check, since this is mostly refactoring. The idea of separating phone number verification out to a service makes sense.

$this->configFactory = $config_factory;
// Temporarily inject service until an event is created.
// See: https://www.drupal.org/node/2797121
$this->phoneNumberVerification = $phone_number_verification;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Will this not be a BC-breaking change later?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

So long as no-one overrides the service It'll be fine. I anticipate this will be removed soon, as soon as the discussed event in 2797121 is implemented.

@dpi dpi closed this Sep 22, 2016
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