Exports products to the local filesystem.
This \FeaturePhp\Exporter\Exporter takes a product's generated files and copies them to a directory on the server.
package | Default |
---|---|
inherited_from | \FeaturePhp\Exporter\Exporter |
__construct(string $target, boolean $overwrite = false
)
string
boolean
whether an existing target may be discarded
export(\FeaturePhp\ProductLine\Product $product)
Every generated file is copied to the filesystem at its target path.
inherited_from | \FeaturePhp\Exporter\Exporter::export() |
---|
\FeaturePhp\ProductLine\Product
export(\FeaturePhp\ProductLine\Product $product)
The implementation is expected to have some side effect, e.g. downloading a file.
\FeaturePhp\ProductLine\Product
$target : string