public function WorkerInterface::process

Processes an asset.

Parameters

AssetInterface $asset An asset:

Return value

AssetInterface|null May optionally return a replacement asset

2 methods override WorkerInterface::process()
CacheBustingWorker::process in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/CacheBustingWorker.php
Processes an asset.
EnsureFilterWorker::process in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/EnsureFilterWorker.php
Processes an asset.

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/WorkerInterface.php, line 30

Class

WorkerInterface
Assets are passed through factory workers before leaving the factory.

Namespace

Assetic\Factory\Worker

Code

public function process(AssetInterface $asset);