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

dx: bind VonageSmsChannel to container #63

Merged
merged 1 commit into from
Oct 12, 2022
Merged

dx: bind VonageSmsChannel to container #63

merged 1 commit into from
Oct 12, 2022

Conversation

ankurk91
Copy link
Contributor

Hi @driesvints ,

This change allow us to specify the channel class in Notification via() method.

use Illuminate\Notifications\VonageSmsChannel;

public function via() {
   return [VonageSmsChannel::class]
}

The old syntax will still work

public function via() {
   return ['vonage']
}

This helps us to CTRL+Click on class name and jump to actual class

@taylorotwell taylorotwell merged commit f073101 into laravel:3.x Oct 12, 2022
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