public function __construct(ITranslator $translator, Paginator $paginator, $threshold = 3, $pageParameter = 'page') { parent::__construct($translator); $this->paginator = $paginator; $this->threshold = $threshold; $this->pageParameter = $pageParameter; }
public function __construct(CategoryService $categoryService, CategoriesFormFactory $categoriesFormFactory, ITranslator $translator, Category $editedCategory = null) { parent::__construct($translator); $this->categoryService = $categoryService; $this->categoriesFormFactory = $categoriesFormFactory; $this->editedCategory = $editedCategory; }
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; }
public function __construct(ShipmentFormFactory $shipmentFormFactory, ITranslator $translator, ShipmentOption $editedShipment = null) { parent::__construct($translator); $this->shipmentFormFactory = $shipmentFormFactory; $this->editedShipment = $editedShipment; }