Source of file CssCompressorFilter.php
Size: 0,661 Bytes - Last Modified: 2013-06-02T00:13:43+02:00
/home/theseer/Downloads/Symfony/vendor/kriswallsmith/assetic/src/Assetic/Filter/Yui/CssCompressorFilter.php
1234567891011121314151617181920212223242526272829 | <?php /* * This file is part of the Assetic package, an OpenSky project. * * (c) 2010-2013 OpenSky Project Inc * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Assetic\Filter\Yui; use Assetic\Asset\AssetInterface; /** * CSS YUI compressor filter. * * @link http://developer.yahoo.com/yui/compressor/ * @author Kris Wallsmith <kris.wallsmith@gmail.com> */ class CssCompressorFilter extends BaseCompressorFilter { public function filterDump(AssetInterface $asset) { $asset->setContent($this->compress($asset->getContent(), 'css')); } } |