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