Revision 7265,
661 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 | |
---|
12 | namespace Assetic\Filter\Yui; |
---|
13 | |
---|
14 | use Assetic\Asset\AssetInterface; |
---|
15 | |
---|
16 | /** |
---|
17 | * CSS YUI compressor filter. |
---|
18 | * |
---|
19 | * @link http://developer.yahoo.com/yui/compressor/ |
---|
20 | * @author Kris Wallsmith <kris.wallsmith@gmail.com> |
---|
21 | */ |
---|
22 | class CssCompressorFilter extends BaseCompressorFilter |
---|
23 | { |
---|
24 | public function filterDump(AssetInterface $asset) |
---|
25 | { |
---|
26 | $asset->setContent($this->compress($asset->getContent(), 'css')); |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.