Source of file JSMinPlusFilter.php
Size: 0,805 Bytes - Last Modified: 2013-06-02T00:13:43+02:00
/home/theseer/Downloads/Symfony/vendor/kriswallsmith/assetic/src/Assetic/Filter/JSMinPlusFilter.php
1234567891011121314151617181920212223242526272829303132333435 | <?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; use Assetic\Asset\AssetInterface; /** * Filters assets through JSMinPlus. * * All credit for the filter itself is mentioned in the file itself. * * @link https://raw.github.com/mrclay/minify/master/min/lib/JSMinPlus.php * @author Brunoais <brunoaiss@gmail.com> */ class JSMinPlusFilter implements FilterInterface { public function filterLoad(AssetInterface $asset) { } public function filterDump(AssetInterface $asset) { $asset->setContent(\JSMinPlus::minify($asset->getContent())); } } |