Owl\Http\ViewComposers\MailNotifySettingComposer::__construct PHP Method

__construct() public method

public __construct ( Illuminate\Contracts\Config\Repository $config, UserService $userService, MailNotifyService $mailNotifyService )
$config Illuminate\Contracts\Config\Repository
$userService Owl\Services\UserService
$mailNotifyService Owl\Services\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;
    }