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