Esempio n. 1
0
 public function __construct(ITranslator $translator, Paginator $paginator, $threshold = 3, $pageParameter = 'page')
 {
     parent::__construct($translator);
     $this->paginator = $paginator;
     $this->threshold = $threshold;
     $this->pageParameter = $pageParameter;
 }
Esempio n. 2
0
 public function __construct(CategoryService $categoryService, CategoriesFormFactory $categoriesFormFactory, ITranslator $translator, Category $editedCategory = null)
 {
     parent::__construct($translator);
     $this->categoryService = $categoryService;
     $this->categoriesFormFactory = $categoriesFormFactory;
     $this->editedCategory = $editedCategory;
 }
Esempio n. 3
0
 public function __construct(CategoryService $categoryService, ProductFormFactory $productFormFactory, ITranslator $translator, $imagesDir, Product $editedProduct = null)
 {
     parent::__construct($translator);
     $this->categoryService = $categoryService;
     $this->productFormFactory = $productFormFactory;
     $this->imagesDir = $imagesDir;
     $this->editedProduct = $editedProduct;
 }
Esempio n. 4
0
 public function __construct(ShipmentFormFactory $shipmentFormFactory, ITranslator $translator, ShipmentOption $editedShipment = null)
 {
     parent::__construct($translator);
     $this->shipmentFormFactory = $shipmentFormFactory;
     $this->editedShipment = $editedShipment;
 }