Ejemplo n.º 1
0
 /**
  * Writes the pillar data
  *
  * @return Result
  */
 public function run()
 {
     $pathExists = (bool) file_exists($this->stockPath);
     return parent::_doRun($pathExists);
 }
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);
 }