Пример #1
0
 public function __construct(UserService $userService, RegistrationFormFactory $registrationFormFactory, CurrentCartService $currentCartService, \Nette\Security\User $user)
 {
     parent::__construct();
     $this->userService = $userService;
     $this->registrationFormFactory = $registrationFormFactory;
     $this->currentCartService = $currentCartService;
     $this->user = $user;
 }
Пример #2
0
 public function __construct(ProductService $productService, CategoryService $categoryService, CurrentCartService $currentCartService, BuyFormFactory $buyFormFactory, $imagesDir)
 {
     parent::__construct();
     $this->productService = $productService;
     $this->categoryService = $categoryService;
     $this->currentCartService = $currentCartService;
     $this->buyFormFactory = $buyFormFactory;
     $this->imagesDir = $imagesDir;
 }
Пример #3
0
 public function __construct(OrderService $orderService)
 {
     parent::__construct();
     $this->orderService = $orderService;
 }
Пример #4
0
 public function __construct(CategoryService $categoryService, $imagesDir)
 {
     parent::__construct();
     $this->categoryService = $categoryService;
     $this->imagesDir = $imagesDir;
 }