/** * @param ItemRepository $productRepository */ public function __construct(ItemRepository $productRepository) { parent::__construct(); $this->productRepository = $productRepository; $this->absoluteUrls = true; Debugger::$bar = false; }
/** * @param \Nette\Callback $mailControlFactory */ public function __construct(Callback $mailControlFactory) { parent::__construct(); $this->mailControlFactory = $mailControlFactory; }