source: sandbox/newExpressoMail/newExpressoMail/Assetic/Factory/Worker/WorkerInterface.php @ 7265

Revision 7265, 718 bytes checked in by gustavo, 12 years ago (diff)

Ticket #0000 - Criado novo modulo para o desenvolvimento do novo ExpressoMail?

  • Property svn:executable set to *
Line 
1<?php
2
3/*
4 * This file is part of the Assetic package, an OpenSky project.
5 *
6 * (c) 2010-2012 OpenSky Project Inc
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Assetic\Factory\Worker;
13
14use Assetic\Asset\AssetInterface;
15
16/**
17 * Assets are passed through factory workers before leaving the factory.
18 *
19 * @author Kris Wallsmith <kris.wallsmith@gmail.com>
20 */
21interface WorkerInterface
22{
23    /**
24     * Processes an asset.
25     *
26     * @param AssetInterface $asset An asset
27     *
28     * @return AssetInterface|null May optionally return a replacement asset
29     */
30    public function process(AssetInterface $asset);
31}
Note: See TracBrowser for help on using the repository browser.