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