예제 #1
0
 public function __construct(CategoryHelper $categoryHelper, ProductHelper $productHelper)
 {
     $this->categoryHelper = $categoryHelper;
     $this->productHelper = $productHelper;
     parent::__construct();
 }
 public function __construct(AddressHelper $addressHelper)
 {
     parent::__construct();
     $this->addressHelper = $addressHelper;
 }
 /**
  * Create a new controller instance.
  *
  * @return void
  */
 public function __construct()
 {
     $this->middleware('adminguest');
     parent::__construct();
 }
예제 #4
0
 /**
  * Create a new controller instance.
  *
  * @return void
  */
 public function __construct()
 {
     $this->middleware('adminguest', ['except' => 'logout']);
     parent::__construct();
 }