Ejemplo n.º 1
0
 /**
  * @param string $customData
  * @param string $customDataPath
  * @param string $productionLine
  * @param bool   $clean          true if you want to empty the dir before stocking
  * @param bool   $force          true if you want to clean dir without prompt
  */
 public function __construct($customData, $customDataPath, $productionLine, $clean = false, $force = false)
 {
     parent::__construct($customDataPath, $clean, $force);
     $this->customData = $customData;
     $this->productionLine = $productionLine;
 }
Ejemplo n.º 2
0
 /**
  * @param string $goodsPath
  * @param array  $manifest
  * @param bool   $clean
  * @param bool   $force
  */
 public function __construct($goodsPath, array $manifest, $clean = false, $force = false)
 {
     $this->supplierData = $manifest['suppliers'];
     $this->rawGoods = $manifest['raw_goods'];
     parent::__construct($goodsPath, $clean, $force);
 }