Support the ongoing development of Laravel.io →
Packages Configuration Mail
Last updated 2 years ago.
0

For those, who face with the same problem:

The IoC can not resolve the model form the package, so must defined in the notification class like this:

public function __construct(App\User $user) { $this->user = $user; }

0

Sign in to participate in this thread!

Eventy

Your banner here too?

svolenszki svolenszki Joined 21 Oct 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.