/** * @param UserRepository $user * @param RoleRepository $role * @param Authentication $auth */ public function __construct(UserRepository $user, RoleRepository $role) { parent::__construct(); $this->user = $user; $this->role = $role; $this->middleware('userprofile'); }
public function __construct(PermissionManager $permissions, RoleRepository $role) { parent::__construct(); $this->permissions = $permissions; $this->role = $role; }
/** * @param UserRepository $user * @param RoleRepository $role * @param Authentication $auth */ public function __construct(UserRepository $user, RoleRepository $role) { parent::__construct(); $this->user = $user; $this->role = $role; }
public function __construct(ModuleManager $moduleManager, Repository $modules) { parent::__construct(); $this->moduleManager = $moduleManager; $this->modules = $modules; }
/** * SettingController constructor. * * @param Settings $setting */ public function __construct(Settings $setting) { parent::__construct(); $this->setting = $setting; $this->module = app('modules'); }
public function __construct(PageRepository $page) { parent::__construct(); $this->page = $page; }