public __construct ( Illuminate\Contracts\Config\Repository $config, |
||
$config | Illuminate\Contracts\Config\Repository | |
$userService | ||
$mailNotifyService |
public function __construct(Config $config, UserService $userService, MailNotifyService $mailNotifyService)
{
$this->notifyEnable = $config->get('notification.enabled') && $config->get('mail.mail_enable');
$this->userService = $userService;
$this->mailNotifyService = $mailNotifyService;
}