public __construct ( |
||
$accountRepo | ||
$mailer | App\Ninja\Mailers\Mailer | |
$emailService |
public function __construct(UserRepository $userRepository, FileRepository $fileRepository) { parent::__construct(); $this->userProvider = $userRepository; $this->filesProvider = $fileRepository; if (\Auth::check()) { } $this->asset()->add('profile', 'assets/css/profile.css'); }
public function __construct(MessageRepository $messageRepository, MessageConversationRepository $messageConversationRepository, UserRepository $userRepository) { $this->messageRepository = $messageRepository; $this->conversationRepository = $messageConversationRepository; $this->userRepository = $userRepository; parent::__construct(); $this->asset()->add('profile', 'assets/css/profile.css'); $this->asset()->container('footer')->add('messages', 'assets/js/messages.js', ['main']); $this->user = \Auth::user(); }
public function __construct(Guard $auth) { parent::__construct(); $this->auth = $auth; $this->middleware('guest', ['except' => 'getLogout']); }
public function __construct() { parent::__construct(); $this->setLayout(null, 'forum index'); }
public function __construct(FileRepository $fileRepository) { parent::__construct(); $this->fileProvider = $fileRepository; }
public function __construct() { parent::__construct(); }