Interface Yiisoft\Assets\AssetExporterInterface
| Implemented by | Yiisoft\ |
|---|
The AssetExporterInterface must be implemented by asset exporter classes. The job of such class is to export
asset bundles provided into a format readable by third party tools such as Webpack.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| export() | Exports asset bundle file paths {@see AssetBundle::$export}. | Yiisoft\ |
Method Details
Exports asset bundle file paths {@see AssetBundle::$export}.
All dependencies must be created, and path aliases for {@see \
| public abstract void export ( Yiisoft\ | ||
| $assetBundles | Yiisoft\ |
The asset bundle instances. |
| throws | RuntimeException |
Should be thrown if an error occurred during the export. |
|---|---|---|
public function export(array $assetBundles): void;
User Contributed Notes
Leave a comment
Join the conversation to share a note.