Свойство | Тип | Описание | |
---|---|---|---|
$baseUrl | The base URL for the require.js configuration. |
Метод | Описание | |
---|---|---|
aggregateScripts ( array $package, array $scripts, string $file ) : boolean | Concatenate all scripts together into one destination file. | |
init ( ) | ||
process ( ) | ||
requireJs ( array $json = [] ) : string | Constructs the require.js file from the provided require.js JSON array. | |
requireJson ( array $packages ) : array | Creates a require.js configuration from an array of packages. |
Метод | Описание | |
---|---|---|
arrayMergeRecursiveDistinct ( array &$array1, array &$array2 ) : array | Merges two arrays without changing string array keys. Appends to array if keys are numeric. | |
newAssetCollection ( ) : Assetic\Asset\AssetCollection |
protected newAssetCollection ( ) : Assetic\Asset\AssetCollection | ||
Результат | Assetic\Asset\AssetCollection |
public requireJson ( array $packages ) : array | ||
$packages | array | An array of packages from the composer.lock file. |
Результат | array | The built JSON array. |