Свойство | Type | Description | |
---|---|---|---|
$injector | Bolt\Asset\Injector | ||
$packages | Symfony\Component\Asset\Packages |
Méthode | Description | |
---|---|---|
__construct ( Bolt\Asset\Injector $injector, Symfony\Component\Asset\Packages $packages ) | Constructor. | |
add ( Bolt\Asset\File\FileAssetInterface $asset ) | Add a file asset to the queue. | |
clear ( ) | ||
getQueue ( ) | ||
process ( |
Méthode | Description | |
---|---|---|
processAsset ( Bolt\Asset\File\FileAssetInterface $asset, |
Process a single asset. |
public __construct ( Bolt\Asset\Injector $injector, Symfony\Component\Asset\Packages $packages ) | ||
$injector | Bolt\Asset\Injector | |
$packages | Symfony\Component\Asset\Packages |
public add ( Bolt\Asset\File\FileAssetInterface $asset ) | ||
$asset | Bolt\Asset\File\FileAssetInterface |
public process ( |
||
$request | ||
$response |
protected processAsset ( Bolt\Asset\File\FileAssetInterface $asset, |
||
$asset | Bolt\Asset\File\FileAssetInterface | |
$request | ||
$response |
protected Injector,Bolt\Asset $injector | ||
Résultat | Bolt\Asset\Injector |