Assets are passed through factory workers before leaving the factory.
@author Kris Wallsmith <kris.wallsmith@gmail.com>
Expanded class hierarchy of WorkerInterface
All classes that implement WorkerInterface
interface WorkerInterface {
/**
* Processes an asset.
*
* @param AssetInterface $asset An asset
*
* @return AssetInterface|null May optionally return a replacement asset
*/
public function process(AssetInterface $asset);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WorkerInterface:: |
public | function | Processes an asset. | 1 |