FeaturePhp/Exporter/DownloadZipExporter.php
public function export($product) {
        try {
            parent::export($product);
            $this->download($product->getProductLine()->getName());
        } catch (\Exception $e) {}

        try {
            $this->remove();
        } catch (\Exception $e) {}
    }
public function export($product) {
        try {
            parent::export($product);
            $this->download($product->getProductLine()->getName());
        } catch (\Exception $e) {}

        try {
            $this->remove();
        } catch (\Exception $e) {}
    }
public function export ( $ product ) { try { parent :: export ( $ product ) ; $ this -> download ( $ product -> getProductLine ( ) -> getName ( ) ) ; } catch ( \ Exception $ e ) { } try { $ this -> remove ( ) ; } catch ( \ Exception $ e ) { } }
Exports a product as a ZIP archive and offers it for downloading.
This only works when no headers and no output have been sent yet.
Note that any occurring errors are ignored so that the downloaded archive will not be
corrupted. There is currently no way to obtain error information in this case because
feature-php does not have an external log file.
@param \FeaturePhp\ProductLine\Product $product
Exports a product as a ZIP archive and offers it for downloading . This only works when no headers and no output have been sent yet . Note that any occurring errors are ignored so that the downloaded archive will not be corrupted . There is currently no way to obtain error information in this case because feature - php does not have an external log file .