This pull request adds the possibility to pass an array of paths which will be searched for the requested asset. The first path to provide the asset is selected, the file being served from there.
// Single source
$assets= new AssetsFrom($this->environment->path('src/main/webapp'));
// Multiple sources
$assets= new AssetsFrom([
$this->environment->path('src/main/webapp'),
$this->environment->path('vendor/example/layout-lib/src/main/webapp'),
]);
This pull request adds the possibility to pass an array of paths which will be searched for the requested asset. The first path to provide the asset is selected, the file being served from there.